mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
avoid range exceptions if no element is found on double click
This commit is contained in:
parent
deaeeaaac5
commit
1a010f2e57
@ -4878,7 +4878,7 @@ namespace netgen
|
||||
|
||||
marker = p;
|
||||
|
||||
if(selelement==0)
|
||||
if(selelement<=0)
|
||||
return;
|
||||
|
||||
double lami[3] = {0.0, 0.0, 0.0};
|
||||
|
Loading…
Reference in New Issue
Block a user