We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cef937 commit d8becf1Copy full SHA for d8becf1
1 file changed
io_scene_niftools/modules/nif_import/animation/__init__.py
@@ -58,7 +58,7 @@ def __init__(self):
58
@staticmethod
59
def get_controller_data(ctrl):
60
"""Return data for ctrl, look in interpolator (for newer games) or directly on ctrl"""
61
- if ctrl.interpolator:
+ if hasattr(ctrl, 'interpolator') and ctrl.interpolator:
62
data = ctrl.interpolator.data
63
else:
64
data = ctrl.data
0 commit comments