From acb7eae95aa3bc90ce8398eb6881a17cd4a53d02 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 28 Dec 2009 08:32:24 +0000 Subject: [PATCH] Don't try to determine hostDir if it was provided --- direct/src/p3d/HostInfo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/p3d/HostInfo.py b/direct/src/p3d/HostInfo.py index a2925ab045..6c41b85473 100644 --- a/direct/src/p3d/HostInfo.py +++ b/direct/src/p3d/HostInfo.py @@ -386,6 +386,9 @@ class HostInfo: This code is duplicated in C++, in P3DHost::determine_host_dir(). """ + if self.hostDir: + return + if hostDirBasename: # If the contents.xml specified a host_dir parameter, use # it.