diff --git a/lib/src/mesh.dart b/lib/src/mesh.dart index 46c67b8..77ec252 100755 --- a/lib/src/mesh.dart +++ b/lib/src/mesh.dart @@ -206,7 +206,7 @@ Future> _buildMesh( // load texture image from assets. final Material? material = (materials != null) ? materials[elementMaterials[index]] : null; - final MapEntry? imageEntry = await loadTexture(material, basePath); + final MapEntry? imageEntry = await loadTexture(material, basePath, isAsset: isAsset); // fix zero texture area if (imageEntry != null) {