mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
animation clarification
This commit is contained in:
parent
2e2e08f32d
commit
190a647254
|
|
@ -212,11 +212,11 @@ void TSShapeInstance::animateNodes(S32 ss)
|
|||
for (i=0; i<mNodeCallbacks.size(); i++)
|
||||
{
|
||||
AssertFatal(mNodeCallbacks[i].callback, "No callback method defined");
|
||||
S32 nodeIndex = mNodeCallbacks[i].nodeIndex;
|
||||
if (nodeIndex>=start && nodeIndex<end)
|
||||
S32 nodeIdx = mNodeCallbacks[i].nodeIndex;
|
||||
if (nodeIdx >=start && nodeIdx<end)
|
||||
{
|
||||
mNodeCallbacks[i].callback->setNodeTransform(this, nodeIndex, smNodeLocalTransforms[nodeIndex]);
|
||||
smNodeLocalTransformDirty.set(nodeIndex);
|
||||
mNodeCallbacks[i].callback->setNodeTransform(this, nodeIdx, smNodeLocalTransforms[nodeIdx]);
|
||||
smNodeLocalTransformDirty.set(nodeIdx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue