mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
ignore weird command-line settings
This commit is contained in:
parent
af847d758e
commit
fe38ff0da5
@ -109,5 +109,8 @@ main(int argc, char *argv[]) {
|
||||
err = AEInstallEventHandler
|
||||
(kCoreEventClass, kAEOpenDocuments, handler, 0, false);
|
||||
|
||||
return this_prog->run_command_line(argc, argv);
|
||||
// The command-line options are weird when we start from the
|
||||
// Launcher. Just ignore them.
|
||||
this_prog->run_main_loop();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user