diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-19 23:16:18 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-19 23:16:18 +0400 |
commit | 2256c8e25f597b5499e8bf64dd0fe74c1ea31864 (patch) | |
tree | dbdf42ea5db9da1f181f7b44c1e51d93ebf36f64 /source/blender/gpu | |
parent | 3fec74ec1acbd2d8b3491bc44c87ef60c037a4f8 (diff) |
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).
Diffstat (limited to 'source/blender/gpu')
0 files changed, 0 insertions, 0 deletions