diff options
author | Joshua Leung <aligorith@gmail.com> | 2017-01-21 16:54:35 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2017-01-21 16:55:10 +0300 |
commit | d2382f782e74f9e7b4df49ffc8e40dabb0b8af50 (patch) | |
tree | 7db87d5722b351d34c88aa7fd5934abd709fefa8 /source/blender/blenkernel/intern/armature.c | |
parent | 82187a58f53fef8fe88f89a8aa38729d871a2a37 (diff) |
Fix T49527: Blender stalls when changing armature ghosting range with stepsize = 0
A big thanks to Steffen Mortensen (stifan) for finding the root cause of this bug!
Diffstat (limited to 'source/blender/blenkernel/intern/armature.c')
-rw-r--r-- | source/blender/blenkernel/intern/armature.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c index 2b333941c6e..0287d6ae9ca 100644 --- a/source/blender/blenkernel/intern/armature.c +++ b/source/blender/blenkernel/intern/armature.c @@ -87,6 +87,7 @@ bArmature *BKE_armature_add(Main *bmain, const char *name) arm->deformflag = ARM_DEF_VGROUP | ARM_DEF_ENVELOPE; arm->flag = ARM_COL_CUSTOM; /* custom bone-group colors */ arm->layer = 1; + arm->ghostsize = 1; return arm; } |