Sculpt: fix broken triangle/vertex count for DynTopo

This commit is contained in:
Joseph Eagar 2022-07-29 19:12:40 -07:00
parent d7cfb6ac71
commit e6b1e97dd7
1 changed files with 1 additions and 8 deletions

View File

@ -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. */