Blender Git Commit Log

Git Commits -> Revision b387585

June 14, 2021, 14:34 (GMT)
Overlays: Make flash on mode transfer an operator property

This moves the flash on mode transfer effect option from the overlays to
an operator property of the mode transfer operator.

- This effect is intended to show the target object when no overlays or
a minimal set of overlays is enabled. Making it part of the whole set of
overlays invalidates this use case.

- The effect is not intended to be configurable per viewport, it should
be a global option.

The effect is still implemented using the overlay engine (instead of a
draw modal callback) due to performance and drawing artifacts. Having it
implemented as an overlay with runtime timer data in the objects makes
also possible to run multiple animations at the same time without any
visual glitches.

Reviewed By: campbellbarton, JulienKaspar

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

Commit Details:

Full Hash: b3875858c2ead16fff653d7d4a5392d75971b760
Parent Commit: ef7e116
Committed By: Bastien Montagne
Lines Changed: +10, -14

5 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+0, -3) (Diff)
/source/blender/draw/engines/overlay/overlay_engine.c (+1, -1) (Diff)
/source/blender/editors/object/object_modes.c (+9, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021