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

Update addon for Blender 4.0 #182

Open
Naxela opened this issue Nov 15, 2023 · 3 comments
Open

Update addon for Blender 4.0 #182

Naxela opened this issue Nov 15, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Naxela
Copy link
Owner

Naxela commented Nov 15, 2023

Todo: Update addon for Blender 4.0

@Naxela Naxela added the enhancement New feature or request label Nov 15, 2023
@jywarren
Copy link

I was able to get it working, i think, in 4.1 by changing line 31 of this file:

self.shader = gpu.shader.from_builtin('2D_IMAGE')

To:

         self.shader = gpu.shader.from_builtin('IMAGE')

Ref: https://projects.blender.org/blender/blender/issues/114359

@jywarren
Copy link

I also got an error: AttributeError: 'RenderSettings' object has no attribute 'tile_x'

But i saw this has been fixed on this line already, just not included in the latest packaged .zip yet:

if bpy.app.version[0] == 3 or bpy.app.version[0] == 4:

@jywarren
Copy link

Yep! Very nice, thank u!

image

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

No branches or pull requests

2 participants