Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 4dc4b667a63..da4fb04cb5d 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3005,7 +3005,12 @@ class VIEW3D_PT_view3d_cursor(Panel):
layout = self.layout
view = context.space_data
- layout.column().prop(view, "cursor_location", text="Location")
+
+ layout.prop(view, "lock_cursor_location")
+
+ col = layout.column()
+ col.active = not view.lock_cursor_location
+ col.prop(view, "cursor_location", text="Location")
class VIEW3D_PT_view3d_name(Panel):