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
path: root/source
diff options
context:
space:
mode:
authorDaniel Genrich <daniel.genrich@gmx.net>2009-06-06 23:32:18 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2009-06-06 23:32:18 +0400
commit927c8b5be66491f0cce84063bab8978a835e986f (patch)
treeb80ed66dcd4c551df873baa59e52179e74a3b782 /source
parent0034fbd13ebed62a9923d30f1d2a1a0ca87c0c26 (diff)
Bugfix for crash on constraints
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/object/editconstraint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/editconstraint.c b/source/blender/editors/object/editconstraint.c
index 485dd890ac1..ff2f79e7cdb 100644
--- a/source/blender/editors/object/editconstraint.c
+++ b/source/blender/editors/object/editconstraint.c
@@ -1015,7 +1015,7 @@ static int constraint_add_exec(bContext *C, wmOperator *op)
con->flag |= CONSTRAINT_PROXY_LOCAL;
con->flag |= CONSTRAINT_ACTIVE;
- for(coniter= coniter->prev; coniter; coniter= coniter->prev)
+ for(coniter= con->prev; coniter; coniter= coniter->prev)
coniter->flag &= ~CONSTRAINT_ACTIVE;
}