[TD]Prevent ComplexSection creation without valid direction

This commit is contained in:
wandererfan
2022-11-06 08:26:11 -05:00
committed by WandererFan
parent 38f1906ae0
commit c5a263bdd8
8 changed files with 128 additions and 103 deletions

View File

@@ -638,7 +638,7 @@ TopoDS_Compound DrawViewSection::mapToPage(TopoDS_Shape& shapeToAlign)
// needs to be aligned to paper plane (origin, stdZ);
//project the faces in the shapeToAlign, build new faces from the resulting wires and
//combine everything into a compound of faces
// Base::Console().Message("DVS::mapToPage() - shapeToAlign.null: %d\n", shapeToAlign.IsNull());
BRep_Builder builder;
TopoDS_Compound result;
builder.MakeCompound(result);