Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import animation - AttributeError: 'NiConstFloatEvaluator' object has no attribute 'data'` #602

Open
OldGoldie opened this issue Aug 27, 2023 · 0 comments
Assignees
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working.

Comments

@OldGoldie
Copy link

OldGoldie commented Aug 27, 2023

@niftools/blender-niftools-addon-reviewer -

I am attempting to import models from the game Pirate101. When trying to import .kf animations I receive the following issue:

Animation estimated at 30 frames per second.
Traceback (most recent call last):
  File "C:\Users\realo\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\operators\kf_import_op.py", line 67, in execute
    return KfImport(self, context).execute()
  File "C:\Users\realo\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\kf_import.py", line 79, in execute
    self.transform_anim.import_kf_root(kf_root, b_armature)
  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\functools.py", line 889, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "C:\Users\realo\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\modules\nif_import\animation\transform.py", line 156, in import_sequence_data
    actions.add(self.import_keyframe_controller(evaluator, b_armature_obj, b_target, b_action_name))
  File "C:\Users\realo\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\modules\nif_import\animation\transform.py", line 270, in import_keyframe_controller
    n_kfd = self.get_controller_data(n_kfc)
  File "C:\Users\realo\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\modules\nif_import\animation\__init__.py", line 64, in get_controller_data
    data = ctrl.data
AttributeError: 'NiConstFloatEvaluator' object has no attribute 'data'

This is using the latest release version of Blender on Windows and the latest release version of Niftools.

The game is Pirate101. Below I've attached a sample model from the game.

AQ_Hawkules.zip

@OldGoldie OldGoldie added the Bug Issue with specific functionality not working as intended but overall plugin is working. label Aug 27, 2023
@Candoran2 Candoran2 added this to To do in Animation System via automation Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working.
Projects
Development

No branches or pull requests

2 participants