[Bf-blender-cvs] [b19099346ae] master: UI: rename Energy to Power in context menu, for consistency

Robert Fornof noreply at git.blender.org
Tue Aug 27 12:50:41 CEST 2019


Commit: b19099346aea6e8ed9b4a91bd542d2d8ea42fe9b
Author: Robert Fornof
Date:   Tue Aug 27 12:46:14 2019 +0200
Branches: master
https://developer.blender.org/rBb19099346aea6e8ed9b4a91bd542d2d8ea42fe9b

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

Differential Revision: https://developer.blender.org/D5310

===================================================================

M	release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index b71305f96d9..0433ef10ecf 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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")



More information about the Bf-blender-cvs mailing list