diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py index dbc8e942228b46e3e5b772cd21498f4308c0ae99..f87c8fb46c46dc9198ffab9065587f087f64e789 100755 --- a/io_scene_gltf2/__init__.py +++ b/io_scene_gltf2/__init__.py @@ -4,7 +4,7 @@ bl_info = { 'name': 'glTF 2.0 format', 'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors', - "version": (3, 5, 14), + "version": (3, 5, 15), 'blender': (3, 4, 0), 'location': 'File > Import-Export', 'description': 'Import-Export as glTF 2.0', diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py b/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py index 395fde0f6b387f22e319b57694d26abb0141b834..f8d21f23187c0a285522958a5f9558a80cc7c019 100755 --- a/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py +++ b/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py @@ -609,7 +609,7 @@ def set_poly_smoothing(gltf, pymesh, mesh, vert_normals, loop_vidxs): # Try to guess which polys should be flat based on the fact that all the # loop normals for a flat poly are = the poly's normal. - poly_smooths = np.empty(num_polys, dtype=np.bool) + poly_smooths = np.empty(num_polys, dtype=bool) poly_normals = np.empty(num_polys * 3, dtype=np.float32) mesh.polygons.foreach_get('normal', poly_normals)