attractor icon indicating copy to clipboard operation
attractor copied to clipboard

Update for Blender 3.1

Open sojuzpl opened this issue 2 years ago • 6 comments

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?

sojuzpl avatar Apr 12 '22 13:04 sojuzpl

Please, could you update it for Blender 3.1+?

havocfire avatar Apr 22 '22 18:04 havocfire

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

Googyflip avatar Sep 10 '22 07:09 Googyflip

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

Spirou4D avatar Sep 12 '22 08:09 Spirou4D

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

Googyflip avatar Sep 12 '22 10:09 Googyflip

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

Spirou4D avatar Sep 12 '22 11:09 Spirou4D

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?

havocfire avatar Nov 12 '22 01:11 havocfire