clear 2 warnings
authorCampbell Barton <ideasman42@gmail.com>
Tue, 4 May 2010 05:30:17 +0000 (05:30 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 4 May 2010 05:30:17 +0000 (05:30 +0000)
source/blender/editors/object/object_constraint.c
source/blender/editors/space_logic/logic_ops.c

index eef7919af9f1c384835e05378fdbe3b86da10c14..0748da6eae52c4341adcdbac900c9cdf2958bde3 100644 (file)
@@ -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)
 {
index 92db4748ce3667f44f571f15ada5dde8a566656b..669af07e16cae8fc4c19ac6fe5f7f2d4799769d5 100644 (file)
@@ -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 ************* */