Merge branch 'master' into MalcolmTyrrell/gltfCrashes

This commit is contained in:
Kim Kulling
2021-03-19 13:35:13 +01:00
committed by GitHub
3 changed files with 25 additions and 0 deletions

View File

@@ -478,6 +478,7 @@ unsigned int LazyDict<T>::Remove(const char *id) {
mAsset.mUsedIds[id] = false;
mObjsById.erase(id);
mObjsByOIndex.erase(index);
delete mObjs[index];
mObjs.erase(mObjs.begin() + index);
//update index of object in mObjs;