forked from bartvdbraak/blender
clear 2 warnings
This commit is contained in:
parent
96beb8330c
commit
0975b9a35f
@ -601,13 +601,13 @@ void CONSTRAINT_OT_limitdistance_reset (wmOperatorType *ot)
|
||||
}
|
||||
|
||||
/* ------------- Child-Of Constraint ------------------ */
|
||||
|
||||
#if 0 // unused
|
||||
static int childof_poll(bContext *C)
|
||||
{
|
||||
PointerRNA ptr= CTX_data_pointer_get_type(C, "constraint", &RNA_ChildOfConstraint);
|
||||
return (ptr.id.data && ptr.data);
|
||||
}
|
||||
|
||||
#endif
|
||||
/* ChildOf Constraint - set inverse callback */
|
||||
static int childof_set_inverse_exec (bContext *C, wmOperator *op)
|
||||
{
|
||||
|
@ -164,9 +164,7 @@ static bController *edit_controller_property_get(bContext *C, wmOperator *op, Ob
|
||||
cont = BLI_findstring(&(ob->controllers), controller_name, offsetof(bController, name));
|
||||
return cont;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
static void edit_actuator_properties(wmOperatorType *ot)
|
||||
{
|
||||
RNA_def_string(ot->srna, "actuator", "", 32, "Actuator", "Name of the actuator to edit");
|
||||
@ -208,7 +206,7 @@ static bController *edit_actuator_property_get(bContext *C, wmOperator *op, Obje
|
||||
cont = BLI_findstring(&(ob->actuators), actuator_name, offsetof(bActuator, name));
|
||||
return act;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/* ************* Add/Remove Sensor Operator ************* */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user