fix: allow destroying instances independently of owner
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
#include "scene/GltfSceneAssetInstance.hpp"
|
||||
#include "gltfio/FilamentInstance.h"
|
||||
#include "Log.hpp"
|
||||
#include "scene/GltfSceneAsset.hpp"
|
||||
|
||||
|
||||
namespace thermion
|
||||
{
|
||||
|
||||
@@ -10,5 +10,9 @@ namespace thermion
|
||||
|
||||
}
|
||||
|
||||
SceneAsset *GltfSceneAssetInstance::getInstanceOwner() {
|
||||
return static_cast<SceneAsset *>(_instanceOwner);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user