Skip to content

Commit

Permalink
ComputeHash: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKepzie committed Dec 22, 2014
1 parent 93bc45a commit a066fb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Engine/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,8 @@ Node::computeHash()
isViewer->getActiveInputs(activeInput[0], activeInput[1]);

for (int i = 0; i < 2; ++i) {
if ( (activeInput[i] >= 0) && _imp->inputs[i] ) {
_imp->hash.append( _imp->inputs[i]->getHashValue() );
if ( (activeInput[i] >= 0) && _imp->inputs[activeInput[i]] ) {
_imp->hash.append( _imp->inputs[activeInput[i]]->getHashValue() );
}
}
} else {
Expand Down

0 comments on commit a066fb4

Please sign in to comment.