Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blender 2.9 #172

Open
Alekzs89 opened this issue Oct 5, 2020 · 14 comments
Open

Blender 2.9 #172

Alekzs89 opened this issue Oct 5, 2020 · 14 comments

Comments

@Alekzs89
Copy link

Alekzs89 commented Oct 5, 2020

Upgrade to 2.8x is required.

Is there a solution to this or i need to downgrade?

Thank you.

@davord45
Copy link

davord45 commented Oct 5, 2020

Have you tried blender28 branch?

@kreezii
Copy link

kreezii commented Oct 18, 2020

#176
If you are going to export to DragonBones I made a pull request to work with Blender 2.9. Meanwhile there is a fork in my repositories you can use.

@notsosimpleton
Copy link

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?

@Lertsenem
Copy link

Waiting for the update. Meanwhile I'm using Blender 2.83 LTS.

@magdesign
Copy link

@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


@kreezii
Copy link

kreezii commented Nov 28, 2020

@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.

@KolaiUA
Copy link

KolaiUA commented Nov 28, 2020

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?

@davord45
Copy link

Thanks @kreezii you are awesome!

@magdesign
Copy link

@kreezii : thanks for your effort, works here again :-)

@3dcinetv
Copy link

3dcinetv commented Dec 7, 2020

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'.
101

@davord45
Copy link

davord45 commented Dec 7, 2020

@sirdavid32 Did you try @kreezii pull request for Blender 2.9?

@3dcinetv
Copy link

3dcinetv commented Dec 8, 2020

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: :-1

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'.

@ndee85
Copy link
Owner

ndee85 commented Aug 9, 2021

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.

@magdesign
Copy link

magdesign commented Aug 18, 2021

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:

edit_sprite

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:

install_fork

Thank you very much for looking into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants