Fixed recursion problem

This commit is contained in:
Markus Lampert
2018-01-21 21:29:21 -08:00
committed by wmayer
parent e4e5d4e5f5
commit 8a39ddf884

View File

@@ -38,7 +38,7 @@ def hasEntryMethod(path):
'''hasEntryDressup(path) ... returns true if the given object already has an entry method attached.'''
if 'RampEntry' in path.Name or 'LeadInOut' in path.Name:
return True
if hasattr(path, 'Base'):
if 'Dressup' in path.Name and hasattr(path, 'Base'):
return hasEntryMethod(path.Base)
return False