Page MenuHome

MaskEditor: draw active layer on top
ClosedPublic

Authored by Simon Lenz (Amudtogal) on Nov 25 2021, 2:23 PM.

Details

Summary

Instead of drawing the mask layers in the sequence of their occurence, draw the active mask *always* on top.

Implementation:

  • move drawing loop for splines to separate static function
  • draw active mask last

Example: lowest layer is active, yet still drawn on top.

This is part of an effort to make mask editing more intuitive & easy to use: https://developer.blender.org/T93097

Diff Detail

Repository
rB Blender
Branch
active_on_top (branched from master)
Build Status
Buildable 18970
Build 18970: arc lint + arc unit

Event Timeline

Simon Lenz (Amudtogal) requested review of this revision.Nov 25 2021, 2:23 PM
Simon Lenz (Amudtogal) created this revision.
Simon Lenz (Amudtogal) edited the summary of this revision. (Show Details)Nov 25 2021, 2:25 PM
Simon Lenz (Amudtogal) edited the summary of this revision. (Show Details)Nov 25 2021, 2:41 PM

LGTM. Will commit shortly!

This revision is now accepted and ready to land.Nov 26 2021, 11:00 AM
This revision was automatically updated to reflect the committed changes.