rdb / blender-egg-importer

Add-on for Blender to import Panda3D .egg models.
37 stars 10 forks source link

Loading nik-dragon.egg.pz has various errors #7

Closed rdb closed 4 years ago

rdb commented 5 years ago
Traceback (most recent call last):
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/__init__.py", line 55, in execute
    root.build_tree(context)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 783, in build_tree
    child.build_tree(context, parent, inv_matrix, under_dart)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1141, in build_tree
    self.build_armature(context, object, None, Matrix())
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1162, in build_armature
    EggGroupNode.build_armature(self, context, armature, parent, matrix)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 790, in build_armature
    child.build_armature(*args, **kwargs)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1200, in build_armature
    child_bone = child.build_armature(context, armature, bone, matrix)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1200, in build_armature
    child_bone = child.build_armature(context, armature, bone, matrix)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1157, in build_armature
    if self.mesh_object:
AttributeError: 'EggGroup' object has no attribute 'mesh_object'

Working around that one yields a different one:

Traceback (most recent call last):
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/__init__.py", line 55, in execute
    root.build_tree(context)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 783, in build_tree
    child.build_tree(context, parent, inv_matrix, under_dart)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 783, in build_tree
    child.build_tree(context, parent, inv_matrix, under_dart)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1335, in build_tree
    self.skeleton.build_animations(context, self)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1315, in build_animations
    child.build_animations(context, bundle)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1313, in build_animations
    bundle.add_curves(context, self.name, child)
  File "/home/rdb/.config/blender/2.79/scripts/addons/blender-egg-importer/importer.py", line 1422, in add_curves
    matrices[i] = context.transform_matrix(joint_matrix.inverted() * m)
AttributeError: 'NoneType' object has no attribute 'inverted'