From facfa98b538cc1b60d90a29ce1d6115cb6db2cbb Mon Sep 17 00:00:00 2001
From: Martin Preisler <mpreisler>
Date: Tue, 21 Sep 2021 17:29:25 +0200
Subject: [PATCH] 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
---
 io_scene_fbx/__init__.py  | 2 +-
 io_scene_fbx/fbx_utils.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index 01bc5421b..495e62d2d 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 c35399b24..3a4214230 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():
-- 
GitLab