bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,500 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,501 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,502 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,503 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,504 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,505 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,506 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,507 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,508 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,509 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,510 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,511 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,512 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,513 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,514 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | 458,515 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | 458,516 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | 458,517 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | 458,518 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdi... | 458,519 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,520 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,521 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,522 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,523 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,524 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,525 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,526 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,527 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,528 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,529 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,530 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,531 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,532 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,533 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,534 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 458,535 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,536 |
def CalcLocation(fn, ipath): if (fn.count("/")): return fn dllext = "" if (GetOptimize() <= 2): dllext = "_d" if (fn == "PandaModules.py"): return "pandac/" + fn if (fn.endswith(".cxx")): return CxxFindSource(fn, ipath) if (fn.endswith(".I")): return CxxFindSource(fn, ipath) if (fn.endswith(".h")): return CxxFindS... | def CalcLocation(fn, ipath): if (fn.count("/")): return fn dllext = "" if (GetOptimize() <= 2 and sys.platform.startswith("win")): dllext = "_d" if (fn == "PandaModules.py"): return "pandac/" + fn if (fn.endswith(".cxx")): return CxxFindSource(fn, ipath) if (fn.endswith(".I")): return CxxFindSource(fn, ipath) if (fn... | 458,537 |
def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | 458,538 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,539 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,540 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,541 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,542 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,543 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,544 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 458,545 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir li... | 458,546 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir ... | 458,547 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 458,548 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 458,549 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 458,550 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 458,551 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 458,552 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,553 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,554 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,555 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,556 |
def functor(*cArgs, **ckArgs): ckArgs.update(kArgs) ckArgs.pop('static', None) ckArgs['frameCount'] = ckArgs.get('frameCount',1)+1 return bpdb.bp(*(cArgs), **ckArgs) | def functor(*cArgs, **ckArgs): kwArgs = kArgs kwArgs.update(ckArgs) kwArgs.pop('static', None) kwArgs['frameCount'] = ckArgs.get('frameCount',1)+1 return bpdb.bp(*(cArgs), **kwArgs) | 458,557 |
def __init__(self, id=None, grp=None, cfg=None, iff=True, frameCount=1): #check early out conditions self.disabled = False if not bpdb.enabled: self.disabled = True return moduleName = None callingModule = inspect.getmodule(inspect.stack()[frameCount][0]) if callingModule.__name__ != '__main__': #get only leaf module ... | def __init__(self, id=None, grp=None, cfg=None, iff=True, frameCount=1): #check early out conditions self.disabled = False if not bpdb.enabled: self.disabled = True return moduleName = None callingModule = inspect.getmodule(inspect.stack()[frameCount][0]) if callingModule and callingModule.__name__ != '__main__': #get... | 458,558 |
def __init__(self, parent, colourData=None, style=CCD_SHOW_ALPHA, alpha = 255, callback=None): self.callback=callback CubeColourDialog.__init__(self, parent, colourData, style) self.okButton.Hide() self.cancelButton.Hide() self._colour.alpha = alpha self.alphaSpin.SetValue(self._colour.alpha) self.DrawAlpha() | def __init__(self, parent, colourData=None, style=CCD_SHOW_ALPHA, alpha = 255, updateCB=None, exitCB=None): self.updateCB=updateCB CubeColourDialog.__init__(self, parent, colourData, style) self.okButton.Hide() self.cancelButton.Hide() self._colour.alpha = alpha self.alphaSpin.SetValue(self._colour.alpha) self.DrawAlph... | 458,559 |
def SetPanelColours(self): self.oldColourPanel.RefreshColour(self._oldColour) self.newColourPanel.RefreshColour(self._colour) if self.callback: self.callback(self._colour.r, self._colour.g, self._colour.b, self._colour.alpha) | def SetPanelColours(self): self.oldColourPanel.RefreshColour(self._oldColour) self.newColourPanel.RefreshColour(self._colour) if self.callback: self.callback(self._colour.r, self._colour.g, self._colour.b, self._colour.alpha) | 458,560 |
def colorPickerCB(self, rr, gg, bb, aa): r = rr / 255.0 g = gg / 255.0 b = bb / 255.0 a = aa / 255.0 self.propCR.setValue(r) self.propCG.setValue(g) self.propCB.setValue(b) self.propCA.setValue(a) | def colorPickerExitCB(self, evt=None): self.lastColorPickerPos = self.colorPicker.GetPosition() self.colorPicker.Destroy() self.colorPicker = None def colorPickerUpdateCB(self, rr, gg, bb, aa): r = rr / 255.0 g = gg / 255.0 b = bb / 255.0 a = aa / 255.0 self.propCR.setValue(r) self.propCG.setValue(g) self.propCB.setVa... | 458,561 |
def openColorPicker(self, evt, colourData, alpha): if self.colorPicker: self.colorPicker.Destroy() | def openColorPicker(self, evt, colourData, alpha): if self.colorPicker: self.colorPicker.Destroy() | 458,562 |
def undo(self): if self.result is None: print "Can't undo this add" else: print "Undo: addNewObject" obj = self.editor.objectMgr.findObjectByNodePath(self.result) if obj: self.uid = obj[OG.OBJ_UID] self.editor.ui.sceneGraphUI.delete(self.uid) base.direct.deselect(self.result) base.direct.removeNodePath(self.result) sel... | def undo(self): if self.result is None: print "Can't undo this add" else: print "Undo: addNewObject" if self.uid: obj = self.editor.objectMgr.findObjectById(self.uid) else: obj = self.editor.objectMgr.findObjectByNodePath(self.result) if obj: self.uid = obj[OG.OBJ_UID] self.editor.ui.sceneGraphUI.delete(self.uid) base.... | 458,563 |
def undo(self): if self.result is None: print "Can't undo this add" else: print "Undo: addNewObject" obj = self.editor.objectMgr.findObjectByNodePath(self.result) if obj: self.uid = obj[OG.OBJ_UID] self.editor.ui.sceneGraphUI.delete(self.uid) base.direct.deselect(self.result) base.direct.removeNodePath(self.result) sel... | def undo(self): if self.result is None: print "Can't undo this add" else: print "Undo: addNewObject" obj = self.editor.objectMgr.findObjectByNodePath(self.result) if obj: self.uid = obj[OG.OBJ_UID] self.editor.ui.sceneGraphUI.delete(self.uid) base.direct.deselect(obj[OG.OBJ_NP]) base.direct.removeNodePath(obj[OG.OBJ_NP... | 458,564 |
def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAMES.appe... | def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith(GetThirdpartyDir()): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAME... | 458,565 |
def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAMES.appe... | def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAMES.append((opt, name)) | 458,566 |
def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAMES.appe... | def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) if (opt in PkgListGe... | 458,567 |
def usage(code, msg = ''): print >> sys.stderr, usageText % {'prog' : os.path.split(sys.argv[0])[1]} print >> sys.stderr, msg sys.exit(code) | def usage(code, msg = ''): print >> sys.stderr, usageText % {'prog' : os.path.split(sys.argv[0])[1]} print >> sys.stderr, msg sys.exit(code) | 458,568 |
def usage(code, msg = ''): print >> sys.stderr, usageText % {'prog' : os.path.split(sys.argv[0])[1]} print >> sys.stderr, msg sys.exit(code) | def usage(code, msg = ''): print >> sys.stderr, usageText % {'prog' : os.path.split(sys.argv[0])[1]} print >> sys.stderr, msg sys.exit(code) | 458,569 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET,HOST_URL longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET,HOST_URL longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","... | 458,570 |
def exit(msg = ""): sys.stdout.flush() sys.stderr.flush() if (threading.currentThread() == MAINTHREAD): SaveDependencyCache() MoveAwayConflictingFiles() print "Elapsed Time: "+PrettyTime(time.time() - STARTTIME) print msg print GetColor("red") + "Build terminated." + GetColor() sys.stdout.flush() sys.stderr.flush() os.... | def exit(msg = ""): sys.stdout.flush() sys.stderr.flush() if (threading.currentThread() == MAINTHREAD): SaveDependencyCache() MoveBackConflictingFiles() print "Elapsed Time: "+PrettyTime(time.time() - STARTTIME) print msg print GetColor("red") + "Build terminated." + GetColor() sys.stdout.flush() sys.stderr.flush() os.... | 458,571 |
def oscmd(cmd, ignoreError = False): if VERBOSE: print GetColor("blue") + cmd.split(" ", 1)[0] + " " + GetColor("magenta") + cmd.split(" ", 1)[1] + GetColor() sys.stdout.flush() if sys.platform == "win32": exe = cmd.split()[0] if not (len(exe) > 4 and exe[-4:] == ".exe"): exe += ".exe" if os.path.isfile(exe)==0: for i ... | def oscmd(cmd, ignoreError = False): if VERBOSE: print GetColor("blue") + cmd.split(" ", 1)[0] + " " + GetColor("magenta") + cmd.split(" ", 1)[1] + GetColor() sys.stdout.flush() if sys.platform == "win32": exe = cmd.split()[0] if not (len(exe) > 4 and exe[-4:] == ".exe"): exe += ".exe" if os.path.isfile(exe)==0: for i ... | 458,572 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 458,573 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 458,574 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,575 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} speedtree_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = ... | def WriteConfigSettings(): dtool_config={} prc_parameters={} speedtree_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = ... | 458,576 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} speedtree_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = ... | def WriteConfigSettings(): dtool_config={} prc_parameters={} speedtree_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = ... | 458,577 |
def redownloadContentsFile(self, http): """ Downloads a new contents.xml file in case it has changed. Returns true if the file has indeed changed, false if it has not. """ assert self.hasContentsFile | def redownloadContentsFile(self, http): """ Downloads a new contents.xml file in case it has changed. Returns true if the file has indeed changed, false if it has not. """ assert self.hasContentsFile | 458,578 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 458,579 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 458,580 |
def GetThirdpartyDir(): global THIRDPARTYDIR if (THIRDPARTYDIR != None): return THIRDPARTYDIR if (sys.platform.startswith("win")): if (platform.architecture()[0] == "64bit"): THIRDPARTYDIR="thirdparty/win-libs-vc9-x64/" else: THIRDPARTYDIR="thirdparty/win-libs-vc9/" if not os.path.isdir(THIRDPARTYDIR): THIRDPARTYDIR="t... | def GetThirdpartyDir(): global THIRDPARTYDIR if (THIRDPARTYDIR != None): return THIRDPARTYDIR if (sys.platform.startswith("win")): if (platform.architecture()[0] == "64bit"): THIRDPARTYDIR="thirdparty/win-libs-vc9-x64/" else: THIRDPARTYDIR="thirdparty/win-libs-vc9/" if not os.path.isdir(THIRDPARTYDIR): THIRDPARTYDIR="t... | 458,581 |
def setupRender2d(self): """ Creates the render2d scene graph, the primary scene graph for 2-d objects and gui elements that are superimposed over the 3-d geometry in the window. """ self.render2d = NodePath('render2d') | def setupRender2d(self): """ Creates the render2d scene graph, the primary scene graph for 2-d objects and gui elements that are superimposed over the 3-d geometry in the window. """ self.render2d = NodePath('render2d') | 458,582 |
def setupRender2dp(self): """ Creates a render2d scene graph, the secondary scene graph for 2-d objects and gui elements that are superimposed over the 2-d and 3-d geometry in the window. """ self.render2dp = NodePath('render2dp') | def setupRender2dp(self): """ Creates a render2d scene graph, the secondary scene graph for 2-d objects and gui elements that are superimposed over the 2-d and 3-d geometry in the window. """ self.render2dp = NodePath('render2dp') | 458,583 |
def windowEvent(self, win): if win == self.win: properties = win.getProperties() self.notify.info("Got window event: %s" % (repr(properties))) if not properties.getOpen(): # If the user closes the main window, we should exit. self.notify.info("User closed main window.") if __dev__ and (not config.GetBool('disable-garba... | def windowEvent(self, win): if win == self.win: properties = win.getProperties() self.notify.info("Got window event: %s" % (repr(properties))) if not properties.getOpen(): # If the user closes the main window, we should exit. self.notify.info("User closed main window.") if __dev__ and (not config.GetBool('disable-garba... | 458,584 |
def restoreObject(uid, parentNP): obj = self.objInfos[uid] objNP = obj[OG.OBJ_NP] objDef = obj[OG.OBJ_DEF] objModel = obj[OG.OBJ_MODEL] objProp = obj[OG.OBJ_PROP] objRGBA = obj[OG.OBJ_RGBA] self.editor.objectMgr.addNewObject(objDef.name, uid, obj[OG.OBJ_MODEL], parentNP) self.editor.objectMgr.updateObjectColor(objRGBA[... | def restoreObject(uid, parentNP): obj = self.objInfos[uid] objDef = obj[OG.OBJ_DEF] objModel = obj[OG.OBJ_MODEL] objProp = obj[OG.OBJ_PROP] objRGBA = obj[OG.OBJ_RGBA] self.editor.objectMgr.addNewObject(objDef.name, uid, obj[OG.OBJ_MODEL], parentNP) self.editor.objectMgr.updateObjectColor(objRGBA[0], objRGBA[1], objRGBA... | 458,585 |
def restoreObject(uid, parentNP): obj = self.objInfos[uid] objNP = obj[OG.OBJ_NP] objDef = obj[OG.OBJ_DEF] objModel = obj[OG.OBJ_MODEL] objProp = obj[OG.OBJ_PROP] objRGBA = obj[OG.OBJ_RGBA] self.editor.objectMgr.addNewObject(objDef.name, uid, obj[OG.OBJ_MODEL], parentNP) self.editor.objectMgr.updateObjectColor(objRGBA[... | def restoreObject(uid, parentNP): obj = self.objInfos[uid] objNP = obj[OG.OBJ_NP] objDef = obj[OG.OBJ_DEF] objModel = obj[OG.OBJ_MODEL] objProp = obj[OG.OBJ_PROP] objRGBA = obj[OG.OBJ_RGBA] objNP = self.editor.objectMgr.addNewObject(objDef.name, uid, obj[OG.OBJ_MODEL], parentNP) self.editor.objectMgr.updateObjectColor(... | 458,586 |
def __addImplicitDependenciesWindows(self): """ Walks through the list of files, looking for dll's and exe's that might include implicit dependencies on other dll's and assembly manifests. Tries to determine those dependencies, and adds them back into the filelist. """ | def __addImplicitDependenciesWindows(self): """ Walks through the list of files, looking for dll's and exe's that might include implicit dependencies on other dll's and assembly manifests. Tries to determine those dependencies, and adds them back into the filelist. """ | 458,587 |
def bp(id=None, grp=None, cfg=None, iff=True, frameCount=1): if not bpdb.enabled or not bpdb.verifyEnabled(): return bpi = bp(id=id, grp=grp, cfg=cfg, iff=iff,frameCount=frameCount+1) bpi.maybeBreak(frameCount=frameCount+1) | def bp(id=None, grp=None, cfg=None, iff=True, test=None, frameCount=1): if not bpdb.enabled or not bpdb.verifyEnabled(): return bpi = bp(id=id, grp=grp, cfg=cfg, iff=iff,frameCount=frameCount+1) bpi.maybeBreak(frameCount=frameCount+1) | 458,588 |
def bp(id=None, grp=None, cfg=None, iff=True, frameCount=1): if not bpdb.enabled or not bpdb.verifyEnabled(): return bpi = bp(id=id, grp=grp, cfg=cfg, iff=iff,frameCount=frameCount+1) bpi.maybeBreak(frameCount=frameCount+1) | def bp(id=None, grp=None, cfg=None, iff=True, frameCount=1): if not bpdb.enabled or not bpdb.verifyEnabled(): return bpi = bp(id=id, grp=grp, cfg=cfg, iff=iff,frameCount=frameCount+1) bpi.maybeBreak(frameCount=frameCount+1) | 458,589 |
def bpCall(id=None,grp=None,cfg=None,iff=True,frameCount=1,onEnter=1,onExit=0): def decorator(f): return f | def bpCall(id=None,grp=None,cfg=None,iff=True,test=None,frameCount=1,onEnter=1,onExit=0): def decorator(f): return f | 458,590 |
def wrap(*args, **kwds): #create our bp object dbp = bp(id=id or f.__name__, grp=bpi.grp, cfg=bpi.cfg, iff=iff, frameCount=frameCount+1) if onEnter: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefix='Calling ') f_result = f(*args, **kwds) if onExit: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefi... | def wrap(*args, **kwds): #create our bp object dbp = bp(id=id or f.__name__, grp=bpi.grp, cfg=bpi.cfg, iff=iff, frameCount=frameCount+1) if onEnter: dbp.maybeBreak(iff=iff,test=test,frameCount=frameCount+1,displayPrefix='Calling ') f_result = f(*args, **kwds) if onExit: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,di... | 458,591 |
def wrap(*args, **kwds): #create our bp object dbp = bp(id=id or f.__name__, grp=bpi.grp, cfg=bpi.cfg, iff=iff, frameCount=frameCount+1) if onEnter: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefix='Calling ') f_result = f(*args, **kwds) if onExit: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefi... | def wrap(*args, **kwds): #create our bp object dbp = bp(id=id or f.__name__, grp=bpi.grp, cfg=bpi.cfg, iff=iff, frameCount=frameCount+1) if onEnter: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefix='Calling ') f_result = f(*args, **kwds) if onExit: dbp.maybeBreak(iff=iff,test=test,frameCount=frameCount+1,di... | 458,592 |
def bpGroup(*args, **kArgs): if not bpdb.enabled or not bpdb.verifyEnabled(): def functor(*cArgs, **ckArgs): return return functor argsCopy = args[:] def functor(*cArgs, **ckArgs): kwArgs = kArgs kwArgs.update(ckArgs) kwArgs.pop('static', None) kwArgs['frameCount'] = ckArgs.get('frameCount',1)+1 return bpdb.bp(*(cArgs... | def bpGroup(*args, **kArgs): def functor(*cArgs, **ckArgs): return if bpdb.enabled and bpdb.verifyEnabled(): argsCopy = args[:] def functor(*cArgs, **ckArgs): return return functor argsCopy = args[:] def functor(*cArgs, **ckArgs): kwArgs = kArgs kwArgs.update(ckArgs) kwArgs.pop('static', None) kwArgs['frameCount'] = ... | 458,593 |
def functor(*cArgs, **ckArgs): return | def functor(*cArgs, **ckArgs): return | 458,594 |
def maybeBreak(self, iff=True, frameCount=1,displayPrefix=''): if self.shouldBreak(iff): self.doBreak(frameCount=frameCount+1,displayPrefix=displayPrefix) | def maybeBreak(self, iff=True, test=None, frameCount=1, displayPrefix=''): if self.shouldBreak(iff=iff, test=test): self.doBreak(frameCount=frameCount+1,displayPrefix=displayPrefix) | 458,595 |
def shouldBreak(self,iff=True): #check easy early out if self.disabled: return False if not self.iff or not iff: return False | def shouldBreak(self,iff=True, test=None): #check easy early out if self.disabled: return False if not self.iff or not iff: return False | 458,596 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,597 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 458,598 |
def SdkLocatePython(force_use_sys_executable = False): if (PkgSkip("PYTHON")==0): if (sys.platform == "win32" and not force_use_sys_executable): SDK["PYTHON"] = "thirdparty/win-python" if (GetOptimize() <= 2): SDK["PYTHON"] += "-dbg" if (platform.architecture()[0] == "64bit" and os.path.isdir(SDK["PYTHON"] + "-x64")): ... | def SdkLocatePython(force_use_sys_executable = False): if (PkgSkip("PYTHON")==0): if (sys.platform == "win32" and not force_use_sys_executable): SDK["PYTHON"] = "thirdparty/win-python" if (GetOptimize() <= 2): SDK["PYTHON"] += "-dbg" if (platform.architecture()[0] == "64bit" and os.path.isdir(SDK["PYTHON"] + "-x64")): ... | 458,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.