Page MenuHome

When selecting a Bone Group color set and then reverting it to default, the preview colors of the last color set remain unchanged
Confirmed, LowPublicKNOWN ISSUE

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 980 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.15

Blender Version
Broken: version: 2.81 (sub 8), branch: master, commit date: 2019-09-06 17:15, hash: rB7cec119c576b
Worked: (optional)

Short description of error
When selecting a Bone Group Color set and then reverting it to default, the preview colors of the last color set remain in the UI.

Exact steps for others to reproduce the error
Create Armature, add a second bone. Enter Pose Mode, select both and add them to a new Bone Group. Select a different color set. The new colors appear to the right of the dropdown. Then select Default Colors again. The colors right of the dropdown stay unchanged but the bones in the viewport revert to the standard display color.

What it should do: when selecting Default Colors again, revert the preview colors to default as well.

Event Timeline

Germano Cavalcante (mano-wii) lowered the priority of this task from 90 to Low.

One solution would be to set them to black back:

diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c
index d072a0aa599..06c55f81121 100644
--- a/source/blender/blenkernel/intern/action.c
+++ b/source/blender/blenkernel/intern/action.c
@@ -242,6 +242,12 @@ void action_group_colors_sync(bActionGroup *grp, const bActionGroup *ref_grp)
       }
     }
   }
+  else {
+    /* Clean to avoid confusion. */
+    memset(grp->cs.solid, 0, sizeof(grp->cs.solid));
+    memset(grp->cs.select, 0, sizeof(grp->cs.select));
+    memset(grp->cs.active, 0, sizeof(grp->cs.active));
+  }
 }
 
 /* Add a new action group with the given name to the action */
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Known Issue".Jan 27 2020, 3:04 PM