Fix point selection on clipping plane

This commit is contained in:
Matthias Hochsteger 2024-12-12 16:42:57 +01:00
parent b808d84957
commit ecc3db6760

View File

@ -4838,10 +4838,6 @@ namespace netgen
// check if we look at the clipping plane from the right direction
if(n*view > 1e-8)
{
double lam = vispar.clipping.dist - Vec<3>{eye}*n;
lam /= n*view;
p = eye + lam*view;
double lami[3];
if(auto el3d = mesh->GetElementOfPoint( p, lami ))
{