diff options
Diffstat (limited to 'io_scene_gltf2/blender/imp/gltf2_blender_mesh.py')
-rwxr-xr-x | io_scene_gltf2/blender/imp/gltf2_blender_mesh.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py b/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py index ba22d0cc..cfe73058 100755 --- a/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py +++ b/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py @@ -40,6 +40,7 @@ class BlenderMesh(): # primitive uses is set by giving an index into this list. materials = [] + gltf.accessor_cache = {} # cache accessor data for primtives that share accessors # Process all primitives for prim in pymesh.primitives: prim.blender_texcoord = {} @@ -76,7 +77,7 @@ class BlenderMesh(): mesh.update() pymesh.blender_name = mesh.name - + del gltf.accessor_cache # Remove cache return mesh @staticmethod |