mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-05 14:54:33 +08:00
Removing "Embedding" option again
This commit is contained in:
parent
ab6508657d
commit
bc7cb1491d
@ -574,7 +574,6 @@ class CuraApplication(QtApplication):
|
|||||||
parser.add_argument("file", nargs="*", help="Files to load after starting the application.")
|
parser.add_argument("file", nargs="*", help="Files to load after starting the application.")
|
||||||
parser.add_argument("--single-instance", action="store_true", default=False)
|
parser.add_argument("--single-instance", action="store_true", default=False)
|
||||||
parser.add_argument("--headless", action = "store_true", default=False)
|
parser.add_argument("--headless", action = "store_true", default=False)
|
||||||
parser.add_argument("-Embedding", action="store_true", default=False) # Commandline option set my DCOM (Windows Automation)
|
|
||||||
|
|
||||||
# Set up a local socket server which listener which coordinates single instances Curas and accepts commands.
|
# Set up a local socket server which listener which coordinates single instances Curas and accepts commands.
|
||||||
def _setUpSingleInstanceServer(self):
|
def _setUpSingleInstanceServer(self):
|
||||||
@ -667,8 +666,6 @@ class CuraApplication(QtApplication):
|
|||||||
single_instance_socket.flush()
|
single_instance_socket.flush()
|
||||||
single_instance_socket.waitForDisconnected()
|
single_instance_socket.waitForDisconnected()
|
||||||
return False
|
return False
|
||||||
if parsed_command_line["Embedding"]:
|
|
||||||
cls._splash_prevent = True
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user