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:
authorRoland Hess <me@harkyman.com>2010-03-16 21:34:30 +0300
committerRoland Hess <me@harkyman.com>2010-03-16 21:34:30 +0300
commitbcca4e6843df452c820fa48845adc3872e3331ad (patch)
treeb12a09d3325384c238b8264499e3c57f1d8ea163 /source/blender/editors
parent4a2efe0822876d703ba05cd03153ab3759f6c7ee (diff)
Daniel Lara pointed out that adding a Maintain Volume constraint via 3D view hotkey automatically added an Empty for Target. This should not have been.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/object/object_constraint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c
index 96ba419704a..045ff3d5620 100644
--- a/source/blender/editors/object/object_constraint.c
+++ b/source/blender/editors/object/object_constraint.c
@@ -864,6 +864,7 @@ static short get_new_constraint_target(bContext *C, int con_type, Object **tar_o
case CONSTRAINT_TYPE_LOCLIMIT:
case CONSTRAINT_TYPE_ROTLIMIT:
case CONSTRAINT_TYPE_SIZELIMIT:
+ case CONSTRAINT_TYPE_SAMEVOL:
return 0;
/* restricted target-type constraints -------------- */