|
|
@ -149,6 +149,7 @@ class PlasmaPythonFileNode(PlasmaNodeBase, bpy.types.Node): |
|
|
|
row = layout.row(align=True) |
|
|
|
row = layout.row(align=True) |
|
|
|
if self.filename: |
|
|
|
if self.filename: |
|
|
|
row.prop(self, "filename") |
|
|
|
row.prop(self, "filename") |
|
|
|
|
|
|
|
if os.path.isfile(self.filepath): |
|
|
|
operator = row.operator("node.plasma_attributes_to_node", icon="FILE_REFRESH", text="") |
|
|
|
operator = row.operator("node.plasma_attributes_to_node", icon="FILE_REFRESH", text="") |
|
|
|
operator.python_path = self.filepath |
|
|
|
operator.python_path = self.filepath |
|
|
|
operator.node_path = self.node_path |
|
|
|
operator.node_path = self.node_path |
|
|
|