diff options
author | Martin Poirier <theeth@yahoo.com> | 2004-12-29 23:44:54 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2004-12-29 23:44:54 +0300 |
commit | fcb00bf294a0e0cda699bd85fd340087ed8e3180 (patch) | |
tree | 1fbb51554979f44a229161e33268d2028bd32284 /source | |
parent | 8c8f010df214b33e2a7f55786ca4178ddbc8d611 (diff) |
Object Constraints weren't relinked correctly when duplicating both the target and the owner.
Bug since 2.35.
Was lost when bug #1307 was fixed in this commit: http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editobject.c.diff?r1=1.121&r2=1.122&cvsroot=bf-blender&diff_format=h
This doesn't seem to bring back the bug (copy full scene didn't update links in constraints).
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c index 1e6eb0dbf4c..343d979fcce 100644 --- a/source/blender/src/editobject.c +++ b/source/blender/src/editobject.c @@ -7518,6 +7518,7 @@ void adduplicate(float *dtrans) while(base) { if TESTBASELIB(base) { + relink_constraints(&base->object->constraints); if (base->object->pose){ bPoseChannel *chan; for (chan = base->object->pose->chanbase.first; chan; chan=chan->next){ |