UI: rename Energy to Power in context menu, for consistency

Differential Revision: https://developer.blender.org/D5310
This commit is contained in:
Robert Fornof 2019-08-27 12:46:14 +02:00 committed by Brecht Van Lommel
parent 41b27a4def
commit b19099346a
1 changed files with 2 additions and 2 deletions

View File

@ -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")