mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 09:19:01 +00:00
Fix crash with patch mesh attach
This commit is contained in:
parent
0619ac7ef1
commit
10f2e366e0
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,6 @@ int EditPatchMod::DoAttach(INode *node, PatchMesh *attPatch, RPatchMesh *rattPat
|
|||
nodes.DisposeTemporary();
|
||||
return 0;
|
||||
}
|
||||
patchData->BeginEdit(ip->GetTime());
|
||||
|
||||
// If the mesh isn't yet cached, this will cause it to get cached.
|
||||
RPatchMesh *rpatch;
|
||||
|
@ -49,6 +48,7 @@ int EditPatchMod::DoAttach(INode *node, PatchMesh *attPatch, RPatchMesh *rattPat
|
|||
}
|
||||
patchData->RecordTopologyTags(patch);
|
||||
RecordTopologyTags();
|
||||
patchData->BeginEdit(ip->GetTime());
|
||||
|
||||
// Transform the shape for attachment:
|
||||
// If reorienting, just translate to align pivots
|
||||
|
|
Loading…
Reference in a new issue