Blender Git Commit Log
Git Commits -> Revision 18f0618
Revision 18f0618 by Alexander Gavrilov (master) December 1, 2018, 16:44 (GMT) |
Fix T58412: in weight paint + pose mode certain armature operations crash. The cause is that FOREACH_OBJECT_IN_MODE_BEGIN assumed that the active object is in the correct mode, which is wrong in this case. It also only considered objects of the same type as active, which had to be replaced with an explicit type parameter. |
Commit Details:
Full Hash: 18f06186778ea67583a362a611b1efa8c9da5fbd
Parent Commit: 9ed522d
Lines Changed: +42, -31
13 Modified Paths:
/source/blender/blenkernel/BKE_layer.h (+8, -6) (Diff)
/source/blender/blenkernel/intern/layer.c (+13, -4) (Diff)
/source/blender/blenkernel/intern/layer_utils.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/editors/armature/armature_edit.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_edit.c (+2, -2) (Diff)
/source/blender/editors/armature/pose_slide.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_transform.c (+3, -3) (Diff)
/source/blender/editors/armature/pose_utils.c (+2, -2) (Diff)
/source/blender/editors/screen/screen_context.c (+2, -2) (Diff)
/source/blender/editors/space_info/info_stats.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/layer.c (+13, -4) (Diff)
/source/blender/blenkernel/intern/layer_utils.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/editors/armature/armature_edit.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_edit.c (+2, -2) (Diff)
/source/blender/editors/armature/pose_slide.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_transform.c (+3, -3) (Diff)
/source/blender/editors/armature/pose_utils.c (+2, -2) (Diff)
/source/blender/editors/screen/screen_context.c (+2, -2) (Diff)
/source/blender/editors/space_info/info_stats.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+4, -4) (Diff)