Skip to content

Commit

Permalink
ValuePlug : Stop getValueInternal() ignoring precomputedHash
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Nov 2, 2023
1 parent 4c1745e commit bdf288f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gaffer/ValuePlug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ class ValuePlug::ComputeProcess : public Process
// > `StringPlug::hash()` account for additional processing (such as
// > substitutions) performed in public `getValue()` methods _after_
// > calling `getValueInternal()`.
const IECore::MurmurHash hash = p->ValuePlug::hash();
const IECore::MurmurHash hash = precomputedHash ? *precomputedHash : p->ValuePlug::hash();

if( !Process::forceMonitoring( threadState, plug, staticType ) )
{
Expand Down

0 comments on commit bdf288f

Please sign in to comment.