Closed kreezii closed 3 years ago
Does this work with Blender 2.91?
Howdy :wave:
Installing this on Blender 2.90 seemed to work OK - haven't gotten around to DB export yet.
But: 2.91 does an odd insta-quit of any COA operation, spitting out a warning that says Tool 'coa_tools.draw_polygon' not found for space 'VIEW_3D'.
Now it's all good! Thank you! :smile: :sparkles:
I have fixed this slightly different. Checking previous version to make the addon compatible with older 2.9 versions. Though thanks for the pull request!
Get Datafiles path instead of binary blender path to avoid permissions problems, at least in some linux distros. bpy.utils.user_resource("DATAFILES") instead of os.path.dirname(bpy.app.binary_path)
Fix some DragonBones export issues, bpy.ops.ed.undo() crashes blender after export, added bpy.ops.ed.undo_push to solve it.
Update apply modifier for Blender 2.9 bpy.ops.object.modifier_apply() # for Blender 2.9X