From: abn Date: Thu, 18 Dec 2014 09:28:15 +0000 (+0100) Subject: Using --use-offscreen-rendering by default on the pvserver to avoid X-Git-Tag: V7_5_1b1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=199d07aeda7adf1ba0adf9ed313884951a0414a7;p=modules%2Fparavis.git Using --use-offscreen-rendering by default on the pvserver to avoid having an extra X window appearing when rendering big files. --- diff --git a/src/ENGINE/no_wrap/PVSERVER.py b/src/ENGINE/no_wrap/PVSERVER.py index 90b7cd5b..f8d64ea8 100644 --- a/src/ENGINE/no_wrap/PVSERVER.py +++ b/src/ENGINE/no_wrap/PVSERVER.py @@ -106,7 +106,7 @@ class PVSERVER_Impl: opt = [] if port <= 0: port = self.__getFreePort(self.PVSERVER_DEFAULT_PORT) - self.pvserverPop = subp.Popen([pvServerPath, "--multi-clients", "--server-port=%d" % port]) + self.pvserverPop = subp.Popen([pvServerPath, "--multi-clients", "--server-port=%d" % port, "--use-offscreen-rendering"]) sleep(3) # Give some time to the server to start up to avoid # ugly messages on the client side saying that it cannot connect # Is PID still alive? If yes, consider that the launch was successful