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:
authorJoshua Leung <aligorith@gmail.com>2006-12-17 13:02:23 +0300
committerJoshua Leung <aligorith@gmail.com>2006-12-17 13:02:23 +0300
commit8a5a29ae3321dde8f2b5651fdcb3ae0213b95889 (patch)
tree1eba2ec8ecd894e2c6a75a5537f75e1d53226b34 /source/blender/src/editconstraint.c
parent65eda9e6e196e679dce38c9d5c183c35fc3d516e (diff)
== Transform Limiting Constraints ==
Two tweaks: * Reduced the amount of empty space at the bottom of these constraints. * When using the Add Constraint menu (Ctrl Alt C) to add new constraints, an empty is no longer created when creating a "Limit *" constraint.
Diffstat (limited to 'source/blender/src/editconstraint.c')
-rw-r--r--source/blender/src/editconstraint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editconstraint.c b/source/blender/src/editconstraint.c
index b51b05bf10d..ba0b43c16a8 100644
--- a/source/blender/src/editconstraint.c
+++ b/source/blender/src/editconstraint.c
@@ -749,7 +749,7 @@ void add_constraint(int only_IK)
else if(obsel) {
set_constraint_target(con, obsel, NULL);
}
- else if(nr!=11) { /* add new empty as target */
+ else if(ELEM4(nr, 11, 13, 14, 15)==0) { /* add new empty as target */
Base *base= BASACT, *newbase;
Object *obt;