forked from bartvdbraak/blender
Cleanup: warnings
This commit is contained in:
parent
22ecceec4a
commit
3bd46904be
@ -83,6 +83,9 @@ ENDIF(OPENCOLORIO_FOUND)
|
|||||||
MARK_AS_ADVANCED(
|
MARK_AS_ADVANCED(
|
||||||
OPENCOLORIO_INCLUDE_DIR
|
OPENCOLORIO_INCLUDE_DIR
|
||||||
OPENCOLORIO_LIBRARY
|
OPENCOLORIO_LIBRARY
|
||||||
|
OPENCOLORIO_OPENCOLORIO_LIBRARY
|
||||||
|
OPENCOLORIO_TINYXML_LIBRARY
|
||||||
|
OPENCOLORIO_YAML-CPP_LIBRARY
|
||||||
)
|
)
|
||||||
|
|
||||||
UNSET(COMPONENT)
|
UNSET(COMPONENT)
|
||||||
|
@ -280,7 +280,7 @@ static void add_verts_to_dgroups(ReportList *reports, Scene *scene, Object *ob,
|
|||||||
if (numbones == 0)
|
if (numbones == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (BKE_object_defgroup_data_create(ob->data) == false)
|
if (BKE_object_defgroup_data_create(ob->data) == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* create an array of pointer to bones that are skinnable
|
/* create an array of pointer to bones that are skinnable
|
||||||
|
@ -489,7 +489,7 @@ static int gpencil_circle_select_exec(bContext *C, wmOperator *op)
|
|||||||
const int gesture_mode = RNA_int_get(op->ptr, "gesture_mode");
|
const int gesture_mode = RNA_int_get(op->ptr, "gesture_mode");
|
||||||
const bool select = (gesture_mode == GESTURE_MODAL_SELECT);
|
const bool select = (gesture_mode == GESTURE_MODAL_SELECT);
|
||||||
|
|
||||||
GP_SpaceConversion gsc = {0};
|
GP_SpaceConversion gsc = {NULL};
|
||||||
rcti rect = {0}; /* for bounding rect around circle (for quicky intersection testing) */
|
rcti rect = {0}; /* for bounding rect around circle (for quicky intersection testing) */
|
||||||
|
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
@ -562,7 +562,7 @@ static int gpencil_border_select_exec(bContext *C, wmOperator *op)
|
|||||||
const bool select = (gesture_mode == GESTURE_MODAL_SELECT);
|
const bool select = (gesture_mode == GESTURE_MODAL_SELECT);
|
||||||
const bool extend = RNA_boolean_get(op->ptr, "extend");
|
const bool extend = RNA_boolean_get(op->ptr, "extend");
|
||||||
|
|
||||||
GP_SpaceConversion gsc = {0};
|
GP_SpaceConversion gsc = {NULL};
|
||||||
rcti rect = {0};
|
rcti rect = {0};
|
||||||
|
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
@ -676,7 +676,7 @@ static int gpencil_select_exec(bContext *C, wmOperator *op)
|
|||||||
int location[2] = {0};
|
int location[2] = {0};
|
||||||
int mx, my;
|
int mx, my;
|
||||||
|
|
||||||
GP_SpaceConversion gsc = {0};
|
GP_SpaceConversion gsc = {NULL};
|
||||||
|
|
||||||
bGPDstroke *hit_stroke = NULL;
|
bGPDstroke *hit_stroke = NULL;
|
||||||
bGPDspoint *hit_point = NULL;
|
bGPDspoint *hit_point = NULL;
|
||||||
@ -835,5 +835,3 @@ void GPENCIL_OT_select(wmOperatorType *ot)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ********************************************** */
|
/* ********************************************** */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user