mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Fix edge case where an editable shape without a vbo is saved
This commit is contained in:
parent
18031f09b1
commit
0e717ea707
1 changed files with 1 additions and 1 deletions
|
|
@ -2606,7 +2606,7 @@ void TSMesh::disassemble()
|
|||
tsalloc.copyToBuffer32( (S32*)&mCenter, 3 );
|
||||
tsalloc.set32( (S32)mRadius );
|
||||
|
||||
bool shouldMakeEditable = TSShape::smVersion < 27;
|
||||
bool shouldMakeEditable = TSShape::smVersion < 27 || mVertSize == 0;
|
||||
|
||||
// Re-create the vectors
|
||||
if (shouldMakeEditable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue