From 7bc5246156e0eba3992317f8ca1b4642de324689 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Fri, 11 Jun 2021 21:42:36 +0200 Subject: 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 --- release/scripts/startup/bl_ui/space_view3d.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 5f47aa90026..fd56e86ea39 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -6186,9 +6186,6 @@ class VIEW3D_PT_overlay_geometry(Panel): sub.active = overlay.show_fade_inactive sub.prop(overlay, "fade_inactive_alpha", text="Fade Inactive Geometry") - row = col.row(align=True) - row.prop(overlay, "show_mode_transfer", text="Flash on Mode Transfer") - col = layout.column(align=True) col.active = display_all -- cgit v1.2.3