mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fixed 1.0.5 bug
This commit is contained in:
parent
ba5c62b0ba
commit
8013700245
@ -724,8 +724,8 @@ def AddToVisualStudioPath(path,add):
|
|||||||
def LocateVisualStudio():
|
def LocateVisualStudio():
|
||||||
|
|
||||||
# Try to use the Visual Toolkit 2003
|
# Try to use the Visual Toolkit 2003
|
||||||
|
if (os.environ.has_key["VCTOOLKITINSTALLDIR"]):
|
||||||
vcdir = os.environ["VCTOOLKITINSTALLDIR"]
|
vcdir = os.environ["VCTOOLKITINSTALLDIR"]
|
||||||
if (vcdir != 0):
|
|
||||||
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\MicrosoftSDK\\InstalledSDKs\\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3",
|
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\MicrosoftSDK\\InstalledSDKs\\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3",
|
||||||
"Install Dir")
|
"Install Dir")
|
||||||
if (platsdk == 0): sys.exit("Found VC Toolkit, but cannot locate MS Platform SDK")
|
if (platsdk == 0): sys.exit("Found VC Toolkit, but cannot locate MS Platform SDK")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user