Blender Git Loki

Git Commits -> Revision e2d9277

Revision e2d9277 by Pablo Dobarro (soc-2021-curves)
June 21, 2021, 14:31 (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: e2d9277e1420b36cb98b7d9ae2b187b83e7e31cb
Parent Commit: 4bb90c2
Committed By: Dilith Jayakody
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