[Bf-blender-cvs] [e6b1e97dd70] master: Sculpt: fix broken triangle/vertex count for DynTopo

Joseph Eagar noreply at git.blender.org
Sat Jul 30 04:12:59 CEST 2022


Commit: e6b1e97dd70d5cae9d6cf06256be77e0bafa6554
Author: Joseph Eagar
Date:   Fri Jul 29 19:12:40 2022 -0700
Branches: master
https://developer.blender.org/rBe6b1e97dd70d5cae9d6cf06256be77e0bafa6554

Sculpt: fix broken triangle/vertex count for DynTopo

===================================================================

M	source/blender/editors/space_info/info_stats.cc

===================================================================

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



More information about the Bf-blender-cvs mailing list