[Bf-blender-cvs] [3d12e922004] soc-2020-io-performance: Cleanup: Remove unused function
Ankit Meel
noreply at git.blender.org
Sun Oct 18 22:19:03 CEST 2020
Commit: 3d12e922004cc982b16540175cace99a8d2651b9
Author: Ankit Meel
Date: Mon Oct 19 00:44:05 2020 +0530
Branches: soc-2020-io-performance
https://developer.blender.org/rB3d12e922004cc982b16540175cace99a8d2651b9
Cleanup: Remove unused function
===================================================================
M source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc
M source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh
===================================================================
diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc
index 0a5b205970c..6a4e891b3cf 100644
--- a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc
+++ b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc
@@ -172,16 +172,6 @@ int16_t OBJMesh::tot_materials() const
return export_mesh_eval_->totcol;
}
-/**
- * Total smooth groups in the object to export.
- */
-int OBJMesh::tot_smooth_groups() const
-{
- /* Calculate smooth groups first: `OBJMesh::calc_smooth_groups`. */
- BLI_assert(tot_smooth_groups_ != NEGATIVE_INIT);
- return tot_smooth_groups_;
-}
-
/**
* \return Smooth group of the polygon at the given index.
*/
diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh
index c6dc5f329aa..dfd36bd9427 100644
--- a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh
+++ b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh
@@ -107,7 +107,6 @@ class OBJMesh : NonMovable, NonCopyable {
void ensure_mesh_edges() const;
void calc_smooth_groups(const bool use_bitflags);
- int tot_smooth_groups() const;
int ith_smooth_group(const int poly_index) const;
bool is_ith_poly_smooth(const int poly_index) const;
More information about the Bf-blender-cvs
mailing list