diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-07-30 05:12:40 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-07-30 05:12:40 +0300 |
commit | e6b1e97dd70d5cae9d6cf06256be77e0bafa6554 (patch) | |
tree | b2173af329fe83949ba3410a2bed610cef9f8176 /source/blender | |
parent | d7cfb6ac71e4225a654487ab134c89051dad03ed (diff) |
Sculpt: fix broken triangle/vertex count for DynTopo
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_info/info_stats.cc | 9 |
1 files changed, 1 insertions, 8 deletions
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. */ |