Closed josephbburg closed 4 years ago
@josephbburg Thanks for the great bug report, especially filling in the template fully, very much appreciated. 😄 Fix is being reviewed atm. If you want to try it out yourself, you just need to update the files as shown in the link above.
Issue Overview
Importing a particular model with version 2.6.0.dev4.b2-80 causes an error because of a missing definition
Version 2.6.0.dev4.b2-80 Blender 2.91 daily build (from source) Kubuntu 20.04
Context
Was delighted to learnt that NifTools is being ported to 2.8+! While trying out the importer, I encountered this error:
Steps to Reproduce
Attempt to import
almelexia.nif
from this Morrowind Mod: https://www.nexusmods.com/morrowind/mods/23388/?tab=files (I don't think I have permission to redistribute it directly)Expected Result
Import of file into Blender
Actual Result
The error I pasted above ^
Possible Fix
Adding this line to
__init__.py
in io_scene_nif/modules/nif_import/scene/from ....utils.util_logging import NifLog
resolves the issue. (but it seems other issues occur later, which I assume are unrelated. If they aren't due to user error, unsupported features, etc., I might report them.)I'm happy to reply with more info if needed. Thanks for keeping the plugin updated. To think I was about to install Blender 2.49b...