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

Error when clicking in viewport #145

Open
Andyw3d opened this issue Nov 23, 2022 · 1 comment
Open

Error when clicking in viewport #145

Andyw3d opened this issue Nov 23, 2022 · 1 comment

Comments

@Andyw3d
Copy link

Andyw3d commented Nov 23, 2022

When I click in the viewport I get this error.
Python: Traceback (most recent call last):
File "C:\Users********\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Sprytile-master\sprytile_modal.py", line 608, in modal
self.exit_modal(event, context)
File "C:\Users\andyw\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Sprytile-master\sprytile_modal.py", line 924, in exit_modal
self.call_tool(event, False, context)
File "C:\Users\andyw\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Sprytile-master\sprytile_modal.py", line 712, in call_tool
build_preview=self.draw_preview,
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy_types.py", line 817, in getattribute
return super().getattribute(attr)
AttributeError: 'VIEW3D_OP_SprytileModalTool' object has no attribute 'draw_preview'

@ionthedev
Copy link

I just released an updated fork of Sprytile that fixes this issue. https://github.com/ionthedev/ReSprytile

This error only comes up when the tilemap preview window freaks out because apparently, new versions of Blender need the preview windows positional data to be converted to an integer.

Working for 3.4.0

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

2 participants