Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_node.py
| Show First 20 Lines • Show All 703 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| col.separator() | col.separator() | ||||
| col.prop(overlay, "show_context_path", text="Context Path") | col.prop(overlay, "show_context_path", text="Context Path") | ||||
| col.prop(snode, "show_annotation", text="Annotations") | col.prop(snode, "show_annotation", text="Annotations") | ||||
| if snode.tree_type == 'GeometryNodeTree': | if snode.tree_type == 'GeometryNodeTree': | ||||
| col.separator() | col.separator() | ||||
| col.prop(overlay, "show_timing", text="Timings") | col.prop(overlay, "show_timing", text="Timings") | ||||
| col.prop(overlay, "show_named_attributes", text="Named Attributes") | |||||
| class NODE_UL_interface_sockets(bpy.types.UIList): | class NODE_UL_interface_sockets(bpy.types.UIList): | ||||
| def draw_item(self, context, layout, _data, item, icon, _active_data, _active_propname, _index): | def draw_item(self, context, layout, _data, item, icon, _active_data, _active_propname, _index): | ||||
| socket = item | socket = item | ||||
| color = socket.draw_color(context) | color = socket.draw_color(context) | ||||
| if self.layout_type in {'DEFAULT', 'COMPACT'}: | if self.layout_type in {'DEFAULT', 'COMPACT'}: | ||||
| ▲ Show 20 Lines • Show All 188 Lines • Show Last 20 Lines | |||||