UI: increase the context menu's light power

This roughly matches the behavior when
editing this value via the buttons.

Part of D10144
This commit is contained in:
Campbell Barton 2021-01-25 20:35:56 +11:00
parent 292685ea39
commit 52022cba78
1 changed files with 1 additions and 0 deletions

View File

@ -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':