occt: improve delete point with actual clearing from memory instead of

nullification
This commit is contained in:
2025-11-11 23:32:40 +01:00
parent 0092d48a30
commit 2b42634d88
+2 -2
View File
@@ -24,6 +24,6 @@ void coord_point(const TopoDS_Shape& shape, double* x, double* y, double* z) {
*z = point.Z();
}
void clear_point(TopoDS_Shape& shape) {
shape.Nullify();
void delete_shape(TopoDS_Shape* shape) {
delete shape;
}