mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
minor cleanup
This commit is contained in:
parent
6a17f6c388
commit
40a7f71c77
@ -457,6 +457,7 @@ class AppRunner(DirectObject):
|
||||
print "Couldn't find %s %s on %s" % (name, version, hostUrl)
|
||||
return
|
||||
|
||||
package.checkStatus()
|
||||
package.downloadDescFile(self.http)
|
||||
package.downloadPackage(self.http)
|
||||
package.installPackage(self)
|
||||
|
@ -157,7 +157,9 @@ load_plugin(const string &p3d_plugin_filename,
|
||||
module = LoadLibrary(filename.c_str());
|
||||
if (module == NULL) {
|
||||
// Couldn't load the DLL.
|
||||
logfile << "Couldn't load " << filename << "\n";
|
||||
logfile
|
||||
<< "Couldn't load " << filename << ", error = "
|
||||
<< GetLastError() << "\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -80,9 +80,6 @@ main(int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
cerr << "handles: " << input_handle << ", " << output_handle << "\n";
|
||||
cerr << "interactive_console = " << interactive_console << "\n";
|
||||
|
||||
if (!run_p3dpython(program_name, archive_file, input_handle, output_handle,
|
||||
NULL, interactive_console)) {
|
||||
cerr << "Failure on startup.\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user