Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-07-19 17:27:18 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-07-20 10:28:02 +0300
commit8a42b3909f33d90b065eec2b8eb342df0a1fb659 (patch)
treece18e2cf699243b657eb2c1f35a4b5eabdf29b9b /source/blender/modifiers/intern/MOD_subsurf.c
parent94722121e572bc8ac4863ae7cdaf26386695202d (diff)
Subsurf: Add basic statistics to help benchmarking
Diffstat (limited to 'source/blender/modifiers/intern/MOD_subsurf.c')
-rw-r--r--source/blender/modifiers/intern/MOD_subsurf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c
index c92845a24eb..08dc7c92693 100644
--- a/source/blender/modifiers/intern/MOD_subsurf.c
+++ b/source/blender/modifiers/intern/MOD_subsurf.c
@@ -247,6 +247,7 @@ static Mesh *applyModifier_subdiv(ModifierData *md,
subdiv_mesh_settings_init(&mesh_settings, &subdiv_settings);
result = BKE_subdiv_to_mesh(subdiv, &mesh_settings, mesh);
/* TODO(sergey): Cache subdiv somehow. */
+ // BKE_subdiv_stats_print(&subdiv->stats);
BKE_subdiv_free(subdiv);
return result;
}