Skip to content

Commit

Permalink
validation CS and MS was doing Nef wrongly, now solved
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Aug 3, 2016
1 parent ab8d75b commit a2d37df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Solid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ bool Solid::validate(Primitive3D prim, double tol_planarity_d2p, double tol_plan
if (sh->validate(prim, tol_planarity_d2p, tol_planarity_normals) == false)
isValid = false;
}
if (isValid == true)
if ( (isValid == true) && (prim == SOLID) )
{
if (validate_solid_with_nef() == false)
isValid = false;
Expand Down

0 comments on commit a2d37df

Please sign in to comment.