Skip to content

Commit

Permalink
Fix setComplexDataIndex passing wrong index (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
ustk authored Jan 19, 2025
1 parent bb679e2 commit 49f74f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hi_scripting/scripting/scriptnode/api/NodeBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ bool NodeBase::setComplexDataIndex(String dataType, int dataSlot, int indexValue
if(!v.isValid())
return false;

v.setProperty(PropertyIds::Index, dataSlot, getUndoManager());
v.setProperty(PropertyIds::Index, indexValue, getUndoManager());

return true;
}
Expand Down

0 comments on commit 49f74f2

Please sign in to comment.