[Bf-extensions-cvs] [f5cb3d67] master: glTF importer: avoid critical logging, can lead to some troubles when using from other softwares
Julien Duroure
noreply at git.blender.org
Tue Mar 17 08:40:40 CET 2020
Commit: f5cb3d6701ca570358dda3d9dc8bd704a8100fd4
Author: Julien Duroure
Date: Tue Mar 17 08:39:59 2020 +0100
Branches: master
https://developer.blender.org/rBAf5cb3d6701ca570358dda3d9dc8bd704a8100fd4
glTF importer: avoid critical logging, can lead to some troubles when using from other softwares
===================================================================
M io_scene_gltf2/__init__.py
===================================================================
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index ada6d1fa..139911e4 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -15,7 +15,7 @@
bl_info = {
'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
- "version": (1, 2, 47),
+ "version": (1, 2, 48),
'blender': (2, 82, 7),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',
@@ -924,11 +924,11 @@ class ImportGLTF2(Operator, ImportHelper):
if not success:
self.report({'ERROR'}, txt)
return {'CANCELLED'}
- self.gltf_importer.log.critical("Data are loaded, start creating Blender stuff")
+ print("Data are loaded, start creating Blender stuff")
start_time = time.time()
BlenderGlTF.create(self.gltf_importer)
elapsed_s = "{:.2f}s".format(time.time() - start_time)
- self.gltf_importer.log.critical("glTF import finished in " + elapsed_s)
+ print("glTF import finished in " + elapsed_s)
self.gltf_importer.log.removeHandler(self.gltf_importer.log_handler)
return {'FINISHED'}
More information about the Bf-extensions-cvs
mailing list