From e6b1e97dd70d5cae9d6cf06256be77e0bafa6554 Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Fri, 29 Jul 2022 19:12:40 -0700 Subject: Sculpt: fix broken triangle/vertex count for DynTopo --- source/blender/editors/space_info/info_stats.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/space_info/info_stats.cc b/source/blender/editors/space_info/info_stats.cc index 29a7eb150a1..e41ff02254b 100644 --- a/source/blender/editors/space_info/info_stats.cc +++ b/source/blender/editors/space_info/info_stats.cc @@ -439,14 +439,7 @@ static void stats_update(Depsgraph *depsgraph, } else if (ob && (ob->mode & OB_MODE_SCULPT)) { /* Sculpt Mode. */ - if (stats_is_object_dynamic_topology_sculpt(ob)) { - /* Dynamic topology. Do not count all vertices, - * dynamic topology stats are initialized later as part of sculpt stats. */ - } - else { - /* When dynamic topology is not enabled both sculpt stats and scene stats are collected. */ - stats_object_sculpt(ob, stats); - } + stats_object_sculpt(ob, stats); } else { /* Objects. */ -- cgit v1.2.3