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>2011-02-23 09:48:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-23 09:48:47 +0300
commit93493743596cb757d4989453197d3ec5e93cdbde (patch)
tree6f0aae5ba4cd39673d4cd3ac698b622f668d5f54 /source/blender/editors/object/object_constraint.c
parent2f472ccd60f37ad9adcd388575e88bcf78336074 (diff)
add back view 1:1 operator from 2.4x (Shift+PadEnter)
Diffstat (limited to 'source/blender/editors/object/object_constraint.c')
-rw-r--r--source/blender/editors/object/object_constraint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c
index 2358df37806..1e01ff8e621 100644
--- a/source/blender/editors/object/object_constraint.c
+++ b/source/blender/editors/object/object_constraint.c
@@ -198,6 +198,7 @@ static char *buildmenu_pyconstraints (Text *con_text, int *pyconindex)
}
#endif /* WITH_PYTHON */
+#if 0 // UNUSED, until pyconstraints are added back.
/* this callback gets called when the 'refresh' button of a pyconstraint gets pressed */
static void update_pyconstraint_cb (void *arg1, void *arg2)
{
@@ -211,6 +212,7 @@ static void update_pyconstraint_cb (void *arg1, void *arg2)
BPY_pyconstraint_update(owner, con);
#endif
}
+#endif // UNUSED
/* helper function for add_constriant - sets the last target for the active constraint */
static void set_constraint_nth_target (bConstraint *con, Object *target, const char subtarget[], int index)