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

Can't place tiles, get error message "MATERIAL" not found in ('WIREFRAME', 'SOLID', 'RENDERED') when I click anywhere #143

Open
PanzSan opened this issue Jul 3, 2022 · 1 comment

Comments

@PanzSan
Copy link

PanzSan commented Jul 3, 2022

Trying to use Sprytile with a model that already has some texture painting. New Tile sets aren't appearing in the list preview (I can see the name and tile, but not the actual image) nor the pallet. The cursor shows the tile but whenever I click I get this error message.

Python: Traceback (most recent call last):
File "C:\Users[My User Name]]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\SpryTile\sprytile_modal.py", line 827, in invoke
cur_space.shading.type = 'MATERIAL'
TypeError: bpy_struct: item.attr = val: enum "MATERIAL" not found in ('WIREFRAME', 'SOLID', 'RENDERED')

location: :-1

When I use Sprytile on a new file (just the plane cube) it works fine, so it seems to be an issue with this specific file

@PanzSan
Copy link
Author

PanzSan commented Jul 3, 2022

Uploaded screenshots of the error in this Imgur Post

Palette shows up with some tampering, but error persists

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

1 participant