Blender Git Commit Log

Git Commits -> Revision 709f126

Revision 709f126 by Germano Cavalcante (master)
July 17, 2019, 17:17 (GMT)
Fix T59713: Armature layer dots not updated on changes

`layer_used` runtime data, which controls the drawing of dots in the UI was not getting refreshed properly.
This used to happen in the drawing code, but was no longer working for reasons explained in:
{rB2b09062defa093a243b5fe64b099accb07b440a3}

The solution was to update each layer manually in the operators:
* ARMATURE_OT_bone_primitive_add
* ARMATURE_OT_delete
* ARMATURE_OT_dissolve
* ARMATURE_OT_fill
* ARMATURE_OT_merge
* ARMATURE_OT_separate
* ARMATURE_OT_bone_layers
* POSE_OT_bone_layers

Differential Revision: https://developer.blender.org/D5281

Commit Details:

Full Hash: 709f126e8143da4fa28a08a94e13581c68ab6b29
Parent Commit: 4ddc7e8
Lines Changed: +50, -15

9 Modified Paths:

/source/blender/blenkernel/BKE_armature.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+18, -0) (Diff)
/source/blender/editors/armature/armature_add.c (+2, -0) (Diff)
/source/blender/editors/armature/armature_edit.c (+4, -1) (Diff)
/source/blender/editors/armature/armature_relations.c (+5, -0) (Diff)
/source/blender/editors/armature/armature_utils.c (+12, -0) (Diff)
/source/blender/editors/armature/pose_edit.c (+4, -0) (Diff)
/source/blender/editors/include/ED_armature.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+1, -14) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021