fix: remove MaterialInstance from SceneManager storage when destroyed
This commit is contained in:
@@ -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