-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
NiDitherProperty : accept property to allow import of additional DAOC nifs #604
Conversation
Could you attach the nif in question? |
Also, I've redirected the pull request - PRs should go into develop. The combined changes (often of multiple PRs) then get pulled into master when it's release-ready. |
The file is attached for testing purpose |
Yes. However, I am using addon version 0.1.0, which has an updated library. Part of that means that prop.name is a string instead of bytes, and therefore it doesn't error in the line posted in your log (as you can see, it's supposed NifLog.warn rather than causing an error). If you want to use that, you'll also need to know how to create the |
Hm. It is supposed to be, but to be honest I haven't ever really worked on that system, nor have I tested it. The alternative, as always, is to uninstall and remove the old version, then restart Blender and install the new version. |
I have uninstalled the previous version and installed the 0.1.0 version but I have the below error : To make it working : I have downloaded the zip, extract it and then zip it again. It's now working. There's something in the zip from the release preventing to install the add-on. I have attached the file which is working fine for me to analyze the differences : |
And to go back to original topic : yes now the NIF is correctly imported with just warnings. So I will close my PR proposal |
I think that's probably #584 - the release version was created by me, and apparently that was done in such a way that it used backwards slashes instead of forwards slashes in the file paths. That was apparently not compatible with Linux, and I guess MacOS. The .bat file has since been changed (Candoran2@9de0ff9) such that it will now create a zip file with forwards slashes. I don't think the PR needs to necessarily be closed. Like you said, it gives a warning for an unknown property. If we know what a NiDitherProperty does, then the addon does not need to give that warning (even if the property does nothing). But it's up to you. |
Yes I confirm the zip for the 0.1.0 release is working fine on Windows but not on MacOS (and I guess also not on Linux). For the import of the testing NIF with this 0.1.0 version, I have a warning message, so I guess everything is OK ? For the usage of NiDitherProperty, I didn't see any difference in game when removing this property on the afanc.nif, so ignoring this property for the moment with a warning is the best solution I think :) |
NiDitherProperty : accept property to allow import of additional DAOC nifs
@niftools/blender-niftools-addon-reviewer
Overview
Accept NiDitherProperty
Testing
Import of Afanc.nif from DAOC is now working