use getPrimitiveCount method on FilamentApp, rather than direct FFI method
This commit is contained in:
@@ -1064,8 +1064,10 @@ class FFIAsset extends ThermionAsset {
|
||||
}
|
||||
}
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
Future<int> getPrimitiveCount({ThermionEntity? entity}) async {
|
||||
entity ??= this.entity;
|
||||
return RenderableManager_getPrimitiveCount(app.renderableManager, entity);
|
||||
return FilamentApp.instance!.getPrimitiveCount(entity ??= this.entity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user