diff options
author | Roland Hess <me@harkyman.com> | 2010-03-16 21:34:30 +0300 |
---|---|---|
committer | Roland Hess <me@harkyman.com> | 2010-03-16 21:34:30 +0300 |
commit | bcca4e6843df452c820fa48845adc3872e3331ad (patch) | |
tree | b12a09d3325384c238b8264499e3c57f1d8ea163 /source/blender/editors/object/object_constraint.c | |
parent | 4a2efe0822876d703ba05cd03153ab3759f6c7ee (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/object/object_constraint.c')
-rw-r--r-- | source/blender/editors/object/object_constraint.c | 1 |
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 -------------- */ |