mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
remove old panda support
This commit is contained in:
parent
71058bf910
commit
0a48a2fc44
@ -221,12 +221,8 @@ def getTypeName(typeIndex, scoped=0):
|
|||||||
class FFIInterrogateDatabase:
|
class FFIInterrogateDatabase:
|
||||||
|
|
||||||
def __init__(self, etcPath = []):
|
def __init__(self, etcPath = []):
|
||||||
# Temporary try..except for old Panda.
|
for dir in etcPath:
|
||||||
try:
|
interrogate_add_search_directory(dir)
|
||||||
for dir in etcPath:
|
|
||||||
interrogate_add_search_directory(dir)
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
self.typeIndexMap = {}
|
self.typeIndexMap = {}
|
||||||
self.environment = FFIEnvironment.FFIEnvironment()
|
self.environment = FFIEnvironment.FFIEnvironment()
|
||||||
@ -779,13 +775,7 @@ class FFIInterrogateDatabase:
|
|||||||
FFIConstants.notify.warning('Importing code library: ' + CModuleName)
|
FFIConstants.notify.warning('Importing code library: ' + CModuleName)
|
||||||
exec('import ' + CModuleName)
|
exec('import ' + CModuleName)
|
||||||
|
|
||||||
# Temporary try..except for old Panda.
|
if interrogate_error_flag():
|
||||||
try:
|
|
||||||
errorFlag = interrogate_error_flag()
|
|
||||||
except:
|
|
||||||
errorFlag = False
|
|
||||||
|
|
||||||
if errorFlag:
|
|
||||||
FFIConstants.notify.error("Error reading interrogate database; can't continue.")
|
FFIConstants.notify.error("Error reading interrogate database; can't continue.")
|
||||||
|
|
||||||
self.updateBindings(CModuleName)
|
self.updateBindings(CModuleName)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user