Page MenuHome

T54983: Bone selection overlay
ClosedPublic

Authored by Jeroen Bakker (jbakker) on May 8 2018, 11:27 AM.

Details

Summary

Bone selection overlay is only available in pose mode.
and when active overrules the selection buffer.

This is currently tricked by switching the draw engines, but this is
an exception. Not sure how to solve this in a better way.

After this is solved we can look at how to localize the dim effect to only the objects connected to the active armatures. Currently it dims the whole screen (including background).

@Campbell Barton (campbellbarton) I added you as reviewer as it you have done a lot in the DRW_draw_select_loop

Diff Detail

Repository
rB Blender
Branch
blender2.8
Build Status
Buildable 1491
Build 1491: arc lint + arc unit

Event Timeline

Frankly, appart from the style issue it's good to go.

source/blender/draw/intern/draw_manager.c
1597

Typo? precedence?

source/blender/draw/modes/pose_mode.c
83

Code style: Curly Bracket should go to next line.

87

Code Style: use one blank line between functions.

This revision is now accepted and ready to land.May 8 2018, 12:32 PM
Jeroen Bakker (jbakker) marked 3 inline comments as done.May 8 2018, 2:08 PM
  • D3241: only fade out objects that are driven by the active armature
source/blender/draw/modes/pose_mode.c
93

Use default colour shader

Jeroen Bakker (jbakker) marked an inline comment as done.
  • Merge branch 'blender2.8' into arcpatch-D3241
This revision was automatically updated to reflect the committed changes.