minor style clanup and use more meaningful name for 3DCONNEXION source code.
This commit is contained in:
@@ -191,7 +191,7 @@ elseif(APPLE)
|
||||
intern/GHOST_NDOFManagerCocoa.mm
|
||||
intern/GHOST_NDOFManagerCocoa.h
|
||||
)
|
||||
list(APPEND SRC2
|
||||
list(APPEND SRC_NDOF3DCONNEXION
|
||||
intern/GHOST_NDOFManager3Dconnexion.c
|
||||
intern/GHOST_NDOFManager3Dconnexion.h
|
||||
)
|
||||
@@ -323,6 +323,7 @@ add_definitions(-DGLEW_STATIC)
|
||||
|
||||
blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}")
|
||||
|
||||
if(WITH_INPUT_NDOF AND WITH_COCOA) # workaround for apple clang mangling extern "C" symbols
|
||||
blender_add_lib(bf_intern_ghostndof3dconnexion "${SRC2}" "${INC}" "${INC_SYS}")
|
||||
# workaround for apple clang mangling extern "C" symbols
|
||||
if(WITH_INPUT_NDOF AND WITH_COCOA)
|
||||
blender_add_lib(bf_intern_ghostndof3dconnexion "${SRC_NDOF3DCONNEXION}" "${INC}" "${INC_SYS}")
|
||||
endif()
|
||||
|
||||
@@ -962,10 +962,12 @@ static bool ui_but_event_property_operator_string(const bContext *C, uiBut *but,
|
||||
data_path = BLI_sprintfN("scene.%s", path);
|
||||
MEM_freeN(path);
|
||||
}
|
||||
/*else {
|
||||
printf("ERROR in %s(): Couldn't get path for scene property - %s\n",
|
||||
#if 0
|
||||
else {
|
||||
printf("ERROR in %s(): Couldn't get path for scene property - %s\n",
|
||||
__func__, RNA_property_identifier(but->rnaprop));
|
||||
}*/
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -1696,8 +1696,10 @@ void ED_region_panels(const bContext *C, ARegion *ar, int vertical, const char *
|
||||
/* Note: this code scales fine, but because of rounding differences, positions of elements
|
||||
* flip +1 or -1 pixel compared to redoing the entire layout again.
|
||||
* Leaving in commented code for future tests */
|
||||
/* uiScalePanels(ar, BLI_rctf_size_x(&v2d->cur));
|
||||
break; */
|
||||
#if 0
|
||||
uiScalePanels(ar, BLI_rctf_size_x(&v2d->cur));
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
break;
|
||||
|
||||
@@ -67,7 +67,7 @@ typedef struct MaskParent {
|
||||
char sub_parent[64]; /* sub-entity of parent to which parenting happened
|
||||
* in case of parenting to movie tracking data contains name of track */
|
||||
float parent_orig[2]; /* track location at the moment of parenting,
|
||||
stored in mask space*/
|
||||
* stored in mask space*/
|
||||
|
||||
float parent_corners_orig[4][2]; /* Original corners of plane track at the moment of parenting */
|
||||
} MaskParent;
|
||||
|
||||
@@ -170,7 +170,7 @@ typedef struct MovieTrackingPlaneTrack {
|
||||
char name[64]; /* MAX_NAME */
|
||||
|
||||
MovieTrackingTrack **point_tracks; /* Array of point tracks used to define this plane.
|
||||
Each element is a pointer to MovieTrackingTrack. */
|
||||
* Each element is a pointer to MovieTrackingTrack. */
|
||||
int point_tracksnr, pad; /* Number of tracks in point_tracks array. */
|
||||
|
||||
MovieTrackingPlaneMarker *markers; /* Markers in the plane track */
|
||||
|
||||
Reference in New Issue
Block a user