mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
allow StartGUI to fail
This commit is contained in:
parent
df9964f6cd
commit
a62acfb992
@ -21,7 +21,10 @@ def StartGUI():
|
||||
if not netgen.libngpy._meshing._netgen_executable_started:
|
||||
import os
|
||||
if not "NETGEN_DOCUMENTATION_RST_FORMAT" in os.environ:
|
||||
StartGUI()
|
||||
try:
|
||||
StartGUI()
|
||||
except:
|
||||
pass
|
||||
|
||||
def Snapshot(w,h, filename=None):
|
||||
netgen.Redraw(blocking=True)
|
||||
|
Loading…
Reference in New Issue
Block a user