mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
FreezeTool shouldn't assume that panda3d.py exists
This commit is contained in:
parent
980ed44a59
commit
9f46ad7835
@ -1383,7 +1383,7 @@ class PandaModuleFinder(modulefinder.ModuleFinder):
|
||||
# A special case: map a reference to the "panda3d.blah"
|
||||
# module into the appropriate Panda3D dll.
|
||||
m = getattr(panda3d, partname, None)
|
||||
if m:
|
||||
if m and hasattr(m, '__libraries__'):
|
||||
libname = m.__libraries__[-1]
|
||||
partname = libname
|
||||
fqname = libname
|
||||
|
Loading…
x
Reference in New Issue
Block a user