mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
This now work with an otp2 build.. good for py item leaks..
This commit is contained in:
parent
80ac41f598
commit
5ead01d7e5
@ -182,7 +182,19 @@ for package in packages:
|
||||
isModule = 1
|
||||
except:
|
||||
isModule = 0
|
||||
|
||||
|
||||
#
|
||||
# RHH.... hack OPT2 .. py debug libraries...
|
||||
#
|
||||
if not isModule:
|
||||
# debug py library magin naming in windows..
|
||||
basename = basename.replace('_d','')
|
||||
try:
|
||||
__import__(basename, globals(), locals())
|
||||
isModule = 1
|
||||
except:
|
||||
isModule = 0
|
||||
|
||||
if isModule:
|
||||
if basename not in DoGenPyCode.codeLibs:
|
||||
DoGenPyCode.codeLibs.append(basename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user