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
This commit is contained in:
Martin Preisler 2021-09-21 17:29:25 +02:00 committed by Bastien Montagne
parent eed6d6cc13
commit facfa98b53
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -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():