[Bf-blender-cvs] [a96d42b2e89] master: Rename Label instead of Name in Node editor using F2 key
Campbell Barton
noreply at git.blender.org
Fri Apr 12 13:51:35 CEST 2019
Commit: a96d42b2e890160cf5d0f8d3921a575d2ba13768
Author: Campbell Barton
Date: Fri Apr 12 13:50:33 2019 +0200
Branches: master
https://developer.blender.org/rBa96d42b2e890160cf5d0f8d3921a575d2ba13768
Rename Label instead of Name in Node editor using F2 key
Previously reverted change without RNA changes.
===================================================================
M release/scripts/startup/bl_ui/space_topbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 7b9b324066a..25c715e8ae7 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -1084,11 +1084,11 @@ class TOPBAR_PT_name(Panel):
row.prop(item, "name", text="")
found = True
elif space_type == 'NODE_EDITOR':
- layout.label(text="Node Name")
+ layout.label(text="Node Label")
item = context.active_node
if item:
row = row_with_icon(layout, 'NODE')
- row.prop(item, "name", text="")
+ row.prop(item, "label", text="")
found = True
else:
if mode == 'POSE' or (mode == 'WEIGHT_PAINT' and context.pose_object):
More information about the Bf-blender-cvs
mailing list