mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 21:54:35 +00:00
* BugFix: Correct a crash in the variable inspector caused by keeping pointers into tVector managed memory.
This commit is contained in:
parent
a0e0e1f220
commit
b33e1b400b
3 changed files with 45 additions and 39 deletions
|
|
@ -1583,7 +1583,6 @@ bool TSShape::addSequence(const Torque::Path& path, const String& fromSeq,
|
|||
Con::errorf("%s groundTranslations out of bounds! [%i/%i] ", path.getFullPath().c_str(), groundBase + i, srcShape->groundTranslations.size());
|
||||
offset = srcShape->groundTranslations.size() - 1;
|
||||
}
|
||||
|
||||
groundTranslations.push_back(srcShape->groundTranslations[offset]);
|
||||
|
||||
S32 offset2 = groundBase + i;
|
||||
|
|
@ -1592,7 +1591,6 @@ bool TSShape::addSequence(const Torque::Path& path, const String& fromSeq,
|
|||
Con::errorf("%s groundRotations out of bounds! [%i/%i] ", path.getFullPath().c_str(), groundBase + i, srcShape->groundRotations.size());
|
||||
offset2 = srcShape->groundRotations.size() - 1;
|
||||
}
|
||||
|
||||
groundRotations.push_back(srcShape->groundRotations[offset2]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue