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:
authorRobert Fornof <amdbcg>2019-08-27 13:46:14 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-27 13:50:08 +0300
commitb19099346aea6e8ed9b4a91bd542d2d8ea42fe9b (patch)
treec4e44e477d1ef58ed0c25f9744186650f2e0fba1 /release/scripts
parent41b27a4def57cb9b51671f381f499d6fcb448fb9 (diff)
UI: rename Energy to Power in context menu, for consistency
Differential Revision: https://developer.blender.org/D5310
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py4
1 files changed, 2 insertions, 2 deletions
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")