Minor fix

This commit is contained in:
Dion Moult
2021-07-03 18:46:17 +10:00
parent 4ff60553cc
commit 85bd616f6e
3 changed files with 5 additions and 9 deletions
+1 -3
View File
@@ -33,9 +33,7 @@ class SvIfcCreateShape(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.helper.
self.inputs.new("SvStringsSocket", "entity").prop_name = "entity"
def draw_buttons(self, context, layout):
op = layout.operator("node.sv_ifc_create_shape_refresh", icon="FILE_REFRESH", text="Refresh")
op.tree_name = self.id_data.name
op.node_name = self.name
self.wrapper_tracked_ui_draw_op(layout, "node.sv_ifc_create_shape_refresh", icon="FILE_REFRESH", text="Refresh")
def process(self):
self.sv_input_names = ["file", "entity"]