From b51ef93068a3e45c4fb31aa2bc2102eb446eb7a9 Mon Sep 17 00:00:00 2001 From: Piotr Jaroszek Date: Sun, 6 Jun 2021 17:05:50 +0200 Subject: [PATCH] isAsset bugfix --- lib/src/mesh.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {