diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-10-21 05:11:18 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-10-21 05:11:18 +0400 |
commit | 11afafb01e42803f578c97a966807e5e5baaefb1 (patch) | |
tree | 535ea4c56f27dd66b9f20effec6d312e35bf903b /source/blender/src | |
parent | ff2fcdf34edb85c7c891a9d3dc99f92a98bde4aa (diff) |
[#17873] "switch direction" for bones can cause infinite loop
Stop the infinite loop, but it could be loosing parent relations that it kept before. Aligorith needs to review.
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/editarmature.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index d5e5b5a1c4a..ef6be4a010d 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -3297,6 +3297,9 @@ void switch_direction_armature (void) else ebo->flag &= ~BONE_CONNECTED; + child->parent = NULL; + child->flag &= ~BONE_CONNECTED; + /* FIXME: other things that need fixing? * i.e. roll? */ |