Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-12-18 16:19:55 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-12-18 16:22:12 +0300
commit6ccf9619153ea412c7a8c320a3d59d9ec50600c8 (patch)
tree7d4f8f7afb2bd8f7be01fd7f7f6e123dc9727772 /source/blender/blenkernel/BKE_subdiv_ccg.h
parenteb78579bb65820b7eab2049d614a9ad70d1c8d07 (diff)
Fix T59478: Information Bar Missing Data when in Sculpt Mode
Display statistics from CCG structure. This makes values to be different from what is shown in object mode, since CCG is operating on individual grids, and object mode will stitch those grids. But on another, those values from CCG is what sculpt mode is actually "sees" or "uses". The number of faces should be the same in both sculpt and object modes.
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv_ccg.h')
-rw-r--r--source/blender/blenkernel/BKE_subdiv_ccg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv_ccg.h b/source/blender/blenkernel/BKE_subdiv_ccg.h
index b2aaf6fc4cc..89e0322e37f 100644
--- a/source/blender/blenkernel/BKE_subdiv_ccg.h
+++ b/source/blender/blenkernel/BKE_subdiv_ccg.h
@@ -246,4 +246,10 @@ void BKE_subdiv_ccg_average_stitch_faces(SubdivCCG *subdiv_ccg,
struct CCGFace **effected_faces,
int num_effected_faces);
+/* Get geometry counters at the current subdivision level. */
+void BKE_subdiv_ccg_topology_counters(
+ const SubdivCCG *subdiv_ccg,
+ int *r_num_vertices, int *r_num_edges,
+ int *r_num_faces, int *r_num_loops);
+
#endif /* __BKE_SUBDIV_CCG_H__ */