DragonBones export error - Blender 2.8X
SNKcoder opened this issue · comments
I'm getting this error when trying to export to DragonBones:
Using the latest coa_tools (2.8 branch) and Blender 2.82 (tried 2.81 and 2.80 with same error). To reproduce the error:
- Export from GIMP
- Create new file in Blender, import the sprite.
- Add a basic armature
- Select an export path, DragonBones and click export.
Tried in Windows and Linux with same result. The creature export seems to work correctly with the same files.
UPDATE: Tried with COA Tools 2.0 Release (15 Aug 2019) and works correctly. Tried other commits and the latest commit It's working for me is: a255d3d on 10 Sep 2019
That problem comes with the change made in the file texture_atlas_generator.py
These are the lines giving that error:
275 +bpy.data.collections["COA Export Collection"].hide_render = True
386 +bpy.data.collections["COA Export Collection"].hide_render = False
Solution 1:
Delete or comment those lines:
275 #bpy.data.collections["COA Export Collection"].hide_render = True
386 #bpy.data.collections["COA Export Collection"].hide_render = False
Solution 2:
If you don't want to touch the code and have something like this:
Just rename the collection of your project to "COA Export Collection":
And it exports correctly with latest commit.