avoid range exceptions if no element is found on double click

This commit is contained in:
mhochsteger@cerbsim.com 2022-02-02 14:26:58 +01:00
parent deaeeaaac5
commit 1a010f2e57

View File

@ -4878,7 +4878,7 @@ namespace netgen
marker = p;
if(selelement==0)
if(selelement<=0)
return;
double lami[3] = {0.0, 0.0, 0.0};