Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-05-04 09:30:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-05-04 09:30:17 +0400
commit0975b9a35f29564caa7ed5966eff2e6e9fb7023d (patch)
tree4d1555535a172f3dde6d14bb18bf7d282fff7bda /source/blender/editors
parent96beb8330c3488d5c0b18be3d6dc468086963167 (diff)
clear 2 warnings
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/object/object_constraint.c4
-rw-r--r--source/blender/editors/space_logic/logic_ops.c4
2 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c
index eef7919af9f..0748da6eae5 100644
--- a/source/blender/editors/object/object_constraint.c
+++ b/source/blender/editors/object/object_constraint.c
@@ -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)
{
diff --git a/source/blender/editors/space_logic/logic_ops.c b/source/blender/editors/space_logic/logic_ops.c
index 92db4748ce3..669af07e16c 100644
--- a/source/blender/editors/space_logic/logic_ops.c
+++ b/source/blender/editors/space_logic/logic_ops.c
@@ -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 ************* */