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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-12 13:58:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-12 13:58:31 +0300
commitf3c313e77983edb84e1bcd93cc7db707259bff6e (patch)
tree9c0a4b54d49d7def9accb70652d563804dddfb86 /release
parent684e76181ef05e09affd7fb972735848392c8f69 (diff)
Revert "Rename Label instead of Name in Node editor using F2 key"
This reverts commit 98b06c20a0d4a66e2d9f4496c788f3d0902ea7c6. RNA properties should give predictable results, the desired behavior can be added only in operator logic.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 25c715e8ae7..7b9b324066a 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 Label")
+ layout.label(text="Node Name")
item = context.active_node
if item:
row = row_with_icon(layout, 'NODE')
- row.prop(item, "label", text="")
+ row.prop(item, "name", text="")
found = True
else:
if mode == 'POSE' or (mode == 'WEIGHT_PAINT' and context.pose_object):