Skip to content

Commit

Permalink
[core] Node: Resolve nodeCacheFolder without cache for outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Jan 14, 2025
1 parent b1a58c1 commit 6c995eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion meshroom/core/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,11 @@ def _buildAttributeCmdVars(cmdVars, name, attr):

# For updating output attributes invalidation values
cmdVarsNoCache = self._cmdVars.copy()
cmdVarsNoCache['cache'] = ''
cmdVarsNoCache["cache"] = ""

# Use "self._internalFolder" instead of "self.internalFolder" because we do not want it to be
# resolved with the {cache} information ("self.internalFolder" resolves "self._internalFolder")
cmdVarsNoCache["nodeCacheFolder"] = self._internalFolder.format(**cmdVarsNoCache)

# Evaluate output params
for name, attr in self._attributes.objects.items():
Expand Down

0 comments on commit 6c995eb

Please sign in to comment.