From c6ab7cf5e531d86b3a3788a35263832c44c8e1c0 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 31 Dec 2009 08:45:04 +0000 Subject: [PATCH] Don't use appRunner's host, it doesnt have perPlatform = True --- direct/src/p3d/DeploymentTools.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/direct/src/p3d/DeploymentTools.py b/direct/src/p3d/DeploymentTools.py index 5d64180031..975cd2cc18 100644 --- a/direct/src/p3d/DeploymentTools.py +++ b/direct/src/p3d/DeploymentTools.py @@ -8,7 +8,6 @@ import os, sys, subprocess, tarfile, shutil, time, zipfile, glob from direct.directnotify.DirectNotifyGlobal import * from pandac.PandaModules import PandaSystem, HTTPClient, Filename, VirtualFileSystem, Multifile, readXmlStream from direct.p3d.HostInfo import HostInfo -from direct.showbase.AppRunnerGlobal import appRunner class CachedFile: def __init__(self): self.str = "" @@ -26,12 +25,9 @@ class Standalone: self.basename = self.p3dfile.getBasenameWoExtension() self.tokens = tokens - if appRunner: - self.host = appRunner.getHost("http://runtime.panda3d.org/") - else: - hostDir = Filename(Filename.getTempDirectory(), 'pdeploy/') - hostDir.makeDir() - self.host = HostInfo("http://runtime.panda3d.org/", hostDir = hostDir, asMirror = False, perPlatform = True) + hostDir = Filename(Filename.getTempDirectory(), 'pdeploy/') + hostDir.makeDir() + self.host = HostInfo("http://runtime.panda3d.org/", hostDir = hostDir, asMirror = False, perPlatform = True) self.http = HTTPClient.getGlobalPtr() if not self.host.readContentsFile():