fix: remove MaterialInstance from SceneManager storage when destroyed
This commit is contained in:
1 parent
cabb62043d
commit
d58a48061c
1 file changed
+1
-1
@@ -2079,7 +2079,7 @@ class ThermionViewerFFI extends ThermionViewer {
|
|||||||
///
|
///
|
||||||
Future destroyMaterialInstance(
|
Future destroyMaterialInstance(
|
||||||
ThermionFFIMaterialInstance materialInstance) async {
|
ThermionFFIMaterialInstance materialInstance) async {
|
||||||
destroy_material_instance(_sceneManager!, materialInstance._pointer);
|
SceneManager_destroyMaterialInstance(_sceneManager!, materialInstance._pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in new issue
Block a user