[Bf-extensions-cvs] [facfa98b] master: FBX IO: Disable performance report by default.

Martin Preisler noreply at git.blender.org
Tue Sep 21 17:34:30 CEST 2021


Commit: facfa98b538cc1b60d90a29ce1d6115cb6db2cbb
Author: Martin Preisler
Date:   Tue Sep 21 17:29:25 2021 +0200
Branches: master
https://developer.blender.org/rBAfacfa98b538cc1b60d90a29ce1d6115cb6db2cbb

FBX IO: Disable performance report by default.

Do not spam stdio with timing messages by default, this is more a
development/investigation tool than an end-user feature.

Reviewed By: campbellbarton, mont29

Differential Revision: https://developer.blender.org/D12477

===================================================================

M	io_scene_fbx/__init__.py
M	io_scene_fbx/fbx_utils.py

===================================================================

diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index 01bc5421..495e62d2 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -21,7 +21,7 @@
 bl_info = {
     "name": "FBX format",
     "author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
-    "version": (4, 23, 0),
+    "version": (4, 24, 0),
     "blender": (2, 90, 0),
     "location": "File > Import-Export",
     "description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py
index c35399b2..3a421423 100644
--- a/io_scene_fbx/fbx_utils.py
+++ b/io_scene_fbx/fbx_utils.py
@@ -150,7 +150,8 @@ FBX_FRAMERATES = (
 
 # ##### Misc utilities #####
 
-DO_PERFMON = True
+# Enable performance reports (measuring time used to perform various steps of importing or exporting).
+DO_PERFMON = False
 
 if DO_PERFMON:
     class PerfMon():



More information about the Bf-extensions-cvs mailing list