There is a typo in the code handling wavesets... More specifically, when fetching the rotation of the wind object.
- Show Spoiler
- Code: Select all
Traceback (most recent call last):
File "C:\Games\Tools\Blender\Blender275a\2.75\scripts\addons\korman\operators\op_export.py", line 107, in execute
e.run()
File "C:\Games\Tools\Blender\Blender275a\2.75\scripts\addons\korman\exporter\convert.py", line 69, in run
self._export_scene_objects()
File "C:\Games\Tools\Blender\Blender275a\2.75\scripts\addons\korman\exporter\convert.py", line 203, in _export_scene_objects
mod.export(self, bl_obj, sceneobject)
File "C:\Games\Tools\Blender\Blender275a\2.75\scripts\addons\korman\properties\modifiers\water.py", line 95, in export
matrix = wind_obj.maitrx_world
AttributeError: 'Object' object has no attribute 'maitrx_world'
It should be "matrix_world", not "maitrx_world". For now, not using a wind object is enough to avoid the issue.
Another issue: Korman accepts exporting the Age under any name. Meaning the .age file can be renamed to anything (in my case, it was ending with ".blend"). Maybe putting a warning for idiots like me would be a good idea ?
Actually, why not save the Age name and export path in the world properties ? Since these rarely change, I don't think it's useful to have to browse to Uru's folder and re-enter the Age name every time, which is a bit long when exporting often...
(this is something I did for the 2.7 version of PyPRP, since most of the time I forget to enter the Age name or export to the wrong folder
)
Also, I can confirm the DrawableSpans is corrupted by UVmaps. Meaning a single object using a single UVmap is enough to have the DSpan disappear in PRPShop. Not always, but very often. Removing the UVmap is enough to have it reappear. I even tested it on a new scene, so it doesn't seem to be an error when upgrading to the new version of Blender.
This is weird: I have this bug very often with my meshes, but surely someone else should have run into this issue by now ?...
If it can help, here is a corrupted PRP.
https://www.dropbox.com/s/6iht6ucgblunv ... e.zip?dl=1