Skip to content

Commit d8becf1

Browse files
committed
fix in get_controller_data
1 parent 3cef937 commit d8becf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • io_scene_niftools/modules/nif_import/animation

io_scene_niftools/modules/nif_import/animation/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(self):
5858
@staticmethod
5959
def get_controller_data(ctrl):
6060
"""Return data for ctrl, look in interpolator (for newer games) or directly on ctrl"""
61-
if ctrl.interpolator:
61+
if hasattr(ctrl, 'interpolator') and ctrl.interpolator:
6262
data = ctrl.interpolator.data
6363
else:
6464
data = ctrl.data

0 commit comments

Comments
 (0)