Page Menu
Home
Search
Configure Global Search
Log In
Paste
P2625
T93501_snippet
Active
Public
Actions
Authored by
Philipp Oeser (lichtwerk)
on Nov 30 2021, 11:56 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 3fd19dd70cf..ea391a9c490 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -6104,7 +6104,10 @@ class VIEW3D_PT_overlay_guides(Panel):
sub.prop(overlay, "show_stats", text="Statistics")
sub = split.column()
- sub.prop(overlay, "show_cursor", text="3D Cursor")
+ # match is_cursor_visible() somewhat
+ use_show_cursor = context.mode not in {'PAINT_WEIGHT', 'PAINT_TEXTURE', 'PAINT_VERTEX', 'WEIGHT_GPENCIL'}
+ if use_show_cursor:
+ sub.prop(overlay, "show_cursor", text="3D Cursor")
sub.prop(overlay, "show_annotation", text="Annotations")
if shading.type == 'MATERIAL':
Event Timeline
Philipp Oeser (lichtwerk)
created this paste.
Nov 30 2021, 11:56 AM
Philipp Oeser (lichtwerk)
mentioned this in
T93501: 3D Cursor & Origin overlays should be grayed out if hidden by current mode/tool
.
Nov 30 2021, 11:58 AM
Log In to Comment