Skip to content

Commit

Permalink
changes for uid renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Hog committed Sep 24, 2024
1 parent fab1b8e commit 0e26264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meshroom/core/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def getCommandLine(chunk):
raise RuntimeError("The project needs to be saved to use plugin nodes")
saved_graph = loadGraph(chunk.node.graph.filepath)
if (str(chunk.node) not in [str(f) for f in saved_graph._nodes._objects]
or chunk.node._uids[0] != saved_graph.findNode(str(chunk.node))._uids[0] ):
or chunk.node._uid != saved_graph.findNode(str(chunk.node))._uid ):
raise RuntimeError("The changes needs to be saved to use plugin nodes")

cmdPrefix = ""
Expand Down Expand Up @@ -342,7 +342,7 @@ def getCommandLine(chunk):

return command

# you may use these to esplicitly define Pluginnodes
# you may use these to explicitly define Pluginnodes
class PluginNode(desc.Node):
pass

Expand Down

0 comments on commit 0e26264

Please sign in to comment.