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:
authorCampbell Barton <ideasman42@gmail.com>2021-01-25 12:35:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-25 12:35:56 +0300
commit52022cba788e6f9002428594bcb820d50664e5df (patch)
tree03f75481d271a9148f1f8b842da23202242f53ba /release
parent292685ea39b4e358c87412e41fb1504378ac23bf (diff)
UI: increase the context menu's light power
This roughly matches the behavior when editing this value via the buttons. Part of D10144
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 55cb110177f..f2fd04499f5 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2499,6 +2499,7 @@ class VIEW3D_MT_object_context_menu(Menu):
props = layout.operator("wm.context_modal_mouse", text="Power")
props.data_path_iter = "selected_editable_objects"
props.data_path_item = "data.energy"
+ props.input_scale = 1.0
props.header_text = "Light Power: %.3f"
if light.type == 'AREA':