Blender Git Loki
Git Commits -> Revision 2256c8e
Revision 2256c8e by Bastien Montagne (master) October 19, 2012, 19:16 (GMT) |
Fix [#32925] Center cursor (shift+C) crashing blender after duplicating bone in armature edit mode. Center Cursor uses BKE_object_minmax(), which uses pchans' bone member to check whether a bone is visible or not. But after a duplication, the duplicated pchan->bone are NULL, skiping in this case (as if they were hidden, not optimal but should do the work for now - anyway, using pchan's values in Edit mode does not really make sense, imho). |
Commit Details:
Full Hash: 2256c8e25f597b5499e8bf64dd0fe74c1ea31864
SVN Revision: 51430
Parent Commit: 3fec74e
Lines Changed: +3, -5
1 Modified Path:
/source/blender/blenkernel/intern/object.c (+3, -5) (Diff)