Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_topbar.py
| Context not available. | |||||
| row.prop(item, "name", text="") | row.prop(item, "name", text="") | ||||
| found = True | found = True | ||||
| elif space_type == 'NODE_EDITOR': | elif space_type == 'NODE_EDITOR': | ||||
| layout.label(text="Node Name") | layout.label(text="Node Label") | ||||
| item = context.active_node | item = context.active_node | ||||
| if item: | if item: | ||||
| row = row_with_icon(layout, 'NODE') | row = row_with_icon(layout, 'NODE') | ||||
| row.prop(item, "name", text="") | row.prop(item, "label", text="") | ||||
| found = True | found = True | ||||
| else: | else: | ||||
| if mode == 'POSE' or (mode == 'WEIGHT_PAINT' and context.pose_object): | if mode == 'POSE' or (mode == 'WEIGHT_PAINT' and context.pose_object): | ||||
| Context not available. | |||||