Commit: b18fd83883c2eb447f9e5341b30f89ed0343ced8
Author: Hans Goudey
Date: Wed Jan 4 22:54:43 2023 -0500
Branches: refactor-mesh-sharp-edge-generic
https://developer.blender.org/rBb18fd83883c2eb447f9e5341b30f89ed0343ced8
Cleanup: Use static cast
===================================================================
M source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc
===================================================================
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 f3a25c604c6..543c2b8dbe7 100644
--- a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc
+++ b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc
@@ -199,7 +199,8 @@ void OBJMesh::calc_smooth_groups(const bool use_bitflags)
mesh_polys_.size(),
mesh_loops_.data(),
mesh_loops_.size(),
- (const bool *)CustomData_get_layer_named(&export_mesh_->edata,
CD_PROP_BOOL, ".sharp_edge"),
+ static_cast<const bool *>(
+ CustomData_get_layer_named(&export_mesh_->edata, CD_PROP_BOOL,
".sharp_edge")),
&tot_smooth_groups_,
use_bitflags);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs