From: Christophe Bourcier Date: Wed, 7 Oct 2020 15:31:47 +0000 (+0200) Subject: Change the name of the offscreen rendering option to its new name to avoid a warning... X-Git-Tag: V9_6_0a2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cd04c7dbb9acf5dd6a7cf542179a5a354918c6e2;p=modules%2Fgui.git Change the name of the offscreen rendering option to its new name to avoid a warning when launching pvserver --- diff --git a/src/PVServerService/ENGINE/PVSERVER_impl.py b/src/PVServerService/ENGINE/PVSERVER_impl.py index 21b4502d0..77be24200 100644 --- a/src/PVServerService/ENGINE/PVSERVER_impl.py +++ b/src/PVServerService/ENGINE/PVSERVER_impl.py @@ -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