Blender Git Loki

Git Commits -> Revision 7bc5246

Revision 7bc5246 by Pablo Dobarro (master)
June 11, 2021, 19:48 (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: 7bc5246156e0eba3992317f8ca1b4642de324689
Parent Commit: f6c5af3
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021