Sculpt: fix broken triangle/vertex count for DynTopo
This commit is contained in:
parent
d7cfb6ac71
commit
e6b1e97dd7
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue