ndee85 / coa_tools

COA Tools is a 2D Animation Suite for blender. It offers a 2D cutout animation workflow similar to programs like spine or spriter.
GNU General Public License v3.0
885 stars 138 forks source link

Tool 'coa_tools.draw_polygon' not found for space 'VIEW_3D' #185

Open killer1782 opened 3 years ago

killer1782 commented 3 years ago

edit mesh in blender 2.9 , hover the mouse over 3D viewer and it breaks.......

Missing icons: C:\Program Files\Blender Foundation\Blender 2.92\2.92\datafiles\icons\coa_tools.draw_polygon.dat Unable to load from file Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Info: 1_Beard.png Sprite created. Info: 2_Turban.png Sprite created. Info: 3_Glasses.png Sprite created. Info: 4_Nose.png Sprite created. Info: 5Eyebrows-_Default.png Sprite created. Info: 6_Mouth_Wrinkles.png Sprite created. Info: 7Mouth-_Default.png Sprite created. Info: 8Eyes-_Default.png Sprite created. Info: 9_Face.png Sprite created. Info: 10_Torso.png Sprite created. Info: 11_Left_Arm.png Sprite created. Info: 12_Right_Arm.png Sprite created. Info: 13_Left_Hand.png Sprite created. Info: 14_Right_Hand.png Sprite created. Info: 15_Upper_Legs.png Sprite created. Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Info: Deleted 1 object(s)

Info: Deleted 1 object(s)

Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Info: X-Ray not available in current mode

Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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 Traceback (most recent call last): File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 978, in modal rayStart,rayEnd, ray = self.project_cursor(event) File "C:\Users\killer1782\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\coa_tools\operators\edit_mesh.py", line 570, 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