Open Alekzs89 opened 3 years ago
Have you tried blender28 branch?
Just curious if anyone has figured out how to make this work with 2.9? Or are we just waiting for it to be updated?
Waiting for the update. Meanwhile I'm using Blender 2.83 LTS.
@kreezii : Thanks for your fork, just tried it on Blender 2.91 on Ubuntu Linux. Unfortunately after importing a sprite and clicking "Edit Armature" I get following error:
File "/home/magdesign/.config/blender/2.91/scripts/addons/coa_tools/operators/edit_armature.py", line 152, in project_cursor
ray = bpy.context.scene.ray_cast(bpy.context.view_layer, start, (start+(end-start)*2000)-start )
TypeError: Scene.ray_cast(): error with argument 1, "depsgraph" - Function.depsgraph expected a Depsgraph type, not ViewLayer
Error: An Error occured, please check the console for more information
@magdesign : It seems It breaks on every release... I updated it and trying it with Blender 2.91 seems to work fine now. Here is the new release, please let me know if everything is working well for you too.
Thanks for the update for 2.91, man! Everything works! But the negative bone scale does not work. Do you know how to fix it?
Thanks @kreezii you are awesome!
@kreezii : thanks for your effort, works here again :-)
I'm getting this error when I try to edit the mesh (sprite) in 2.92 and 2.91: Tool 'coa_tools.draw_polygon' not found for space 'VIEW_3D'.
@sirdavid32 Did you try @kreezii pull request for Blender 2.9?
Thank you for your reply and the heads up. I downloaded it and installed it on 2.92. I get this error when I import a sprite: Python: Traceback (most recent call last): File "C:\Users\3DCompositor\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_toolsaddon\operators\import_sprites.py", line 429, in execute bpy.ops.coa_tools.reimport_sprite(filepath=filepath,name=i.name, reposition=False) File "E:\Program Files\Blender 2.92\2.92\scripts\modules\bpy\ops.py", line 132, in call ret = _op_call(self.idname_py(), None, kw) RuntimeError: Error: Python: Traceback (most recent call last): File "C:\Users\3DCompositor\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_toolsaddon\operators\import_sprites.py", line 541, in execute self.move_verts(obj, ratio_x, ratio_y) File "C:\Users\3DCompositor\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_toolsaddon\operators\import_sprites.py", line 468, in move_verts bpy.ops.object.mode_set(mode="EDIT") File "E:\Program Files\Blender 2.92\2.92\scripts\modules\bpy\ops.py", line 132, in call ret = _op_call(self.idname_py(), None, kw) RuntimeError: Operator bpy.ops.object.mode_set.poll() failed, context is incorrect
location: E:\Program Files\Blender 2.92\2.92\scripts\modules\bpy\ops.py:132
location:
In Blender 2.91 it works, but when I finish editing with the Edit Mesh tools, I get this message still: Tool 'coa_tools.draw_polygon' not found for space 'VIEW_3D'.
Hey guys, Could someone post a blend file that does not work. Tested yesterday with 2.93.3 and it worked fine for me. Will try to fix that issue.
here the blender file: https://mega.nz/file/Rjp21JoA#SDKji8SP7nJ2hjjPZrdAemKSkeO__EP_30JRngwIrsI
Ubuntu 18.04 LTS Blender 2.93.3 CoaTools coa_tools-2.0.0 from here
What I did:
1.) Installed Coa-tools as described in the readme.md 2.) COA Tools Panel: 2D View 3.) COA Tools Panel: Create new Sprite Object 4.) COA Tools Panel: Re / Import Sprites 5.) Select my .png to import 6.) COA Tools Panel: Edit Armature 7.) Following error occurs:
btw. when clicking in COA Tools Panel: Edit Mesh I get in edit mode, but as soon as I move the mouse pointer the edit mode is gone.
btw2. when trying coa-tools fork from here, install fails with:
Thank you very much for looking into this!
Upgrade to 2.8x is required.
Is there a solution to this or i need to downgrade?
Thank you.