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 for Blender 3.1 #4

Open
sojuzpl opened this issue Apr 12, 2022 · 6 comments
Open

Update for Blender 3.1 #4

sojuzpl opened this issue Apr 12, 2022 · 6 comments

Comments

@sojuzpl
Copy link

sojuzpl commented Apr 12, 2022

Something wrong during running a script:

Python: Traceback (most recent call last):
File "/Users/zbyszek/Library/Application Support/Blender/3.1/scripts/addons/attractor_blender_2_80.py", line 86, in execute
polyline.points.add(self.npoints - 1)
TypeError: unsupported operand type(s) for -: '_PropertyDeferred' and 'int'

location: :-1

Is it possible to fix it?

@havocfire
Copy link

Please, could you update it for Blender 3.1+?

@Googyflip
Copy link

Googyflip commented Sep 10, 2022

Same error for Blender 3.3 LTS that's just been released.

@Spirou4D
Copy link

Hi mtyka,
I updated your addon for blender2.90+
I tested it with blender2.93, 3.2, 3.3 and now no problem!
Here is the link: https://mega.nz/file/h9JGSZoK#jIqCZU_Vbsu5J2vwGkt6Xajkngn6t1doEkiJiQ_idrQ

@Googyflip
Copy link

Thanks @Spirou4D you're a legend! Didn't realise the = needed to be swapped in each of the attractor classes.

@Spirou4D
Copy link

Spirou4D commented Sep 12, 2022

Thanks @Spirou4D you're a legend! Didn't realise the = needed to be swapped in each of the attractor classes.

Googyflip, here was the solution: https://blender.stackexchange.com/questions/256472/type-error-unsupported-operand-types-for-propertydeferred-and-int-assistance

@havocfire
Copy link

Hi mtyka, I updated your addon for blender2.90+ I tested it with blender2.93, 3.2, 3.3 and now no problem! Here is the link: https://mega.nz/file/h9JGSZoK#jIqCZU_Vbsu5J2vwGkt6Xajkngn6t1doEkiJiQ_idrQ

Could you update it for Blender 3.4/3.5?

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

4 participants