UI: rename Energy to Power in context menu, for consistency
Differential Revision: https://developer.blender.org/D5310
This commit is contained in:
parent
41b27a4def
commit
b19099346a
|
@ -2359,10 +2359,10 @@ class VIEW3D_MT_object_context_menu(Menu):
|
|||
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
|
||||
props = layout.operator("wm.context_modal_mouse", text="Energy")
|
||||
props = layout.operator("wm.context_modal_mouse", text="Power")
|
||||
props.data_path_iter = "selected_editable_objects"
|
||||
props.data_path_item = "data.energy"
|
||||
props.header_text = "Light Energy: %.3f"
|
||||
props.header_text = "Light Power: %.3f"
|
||||
|
||||
if light.type == 'AREA':
|
||||
props = layout.operator("wm.context_modal_mouse", text="Size X")
|
||||
|
|
Loading…
Reference in New Issue