]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Change the name of the offscreen rendering option to its new name to avoid a warning... V9_6_0a2
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Wed, 7 Oct 2020 15:31:47 +0000 (17:31 +0200)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Wed, 7 Oct 2020 15:31:47 +0000 (17:31 +0200)
src/PVServerService/ENGINE/PVSERVER_impl.py

index 21b4502d01c038d57398cb8400fd721efbb71a0e..77be24200abb968feb248c70159db8f5a652a49d 100644 (file)
@@ -108,7 +108,7 @@ class PVSERVER_impl(object):
         opt = []
         if port <= 0:
             port = self.__getFreePort(self.PVSERVER_DEFAULT_PORT)
-        self.pvserverPop = subp.Popen([pvServerPath, "--multi-clients", "--server-port=%d" % port, "--use-offscreen-rendering"])
+        self.pvserverPop = subp.Popen([pvServerPath, "--multi-clients", "--server-port=%d" % port, "--force-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
@@ -142,4 +142,3 @@ class PVSERVER_impl(object):
         return self.isGUIConnected
 
 
-      
\ No newline at end of file