]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Using --use-offscreen-rendering by default on the pvserver to avoid
authorabn <adrien.bruneton@cea.fr>
Thu, 18 Dec 2014 09:28:15 +0000 (10:28 +0100)
committerabn <adrien.bruneton@cea.fr>
Thu, 18 Dec 2014 09:28:15 +0000 (10:28 +0100)
having an extra X window appearing when rendering big files.

src/ENGINE/no_wrap/PVSERVER.py

index 90b7cd5b980fa2c9ba13e4ab5733dfb4dd76a7ec..f8d64ea8f1c9dbfe4732b46175cb525520d93bbc 100644 (file)
@@ -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