josai / Blender-Boosters

A program designed to find optimal settings for rendering on any specific machine. This is highly advantageous for reducing render time for animations.
3 stars 1 forks source link

blender 2.80 and 2.90 changes #2

Open igarrison opened 4 years ago

igarrison commented 4 years ago

I grabbed a blender build from 6/1/2020 (blender-2.90.0-1d4bae856690-windows64), grabbed your Blender-Booster script, and had to make the attached list of changes to get the script to run by stepping through the console errors.

The names of 2 blender attributes changed in Blender 2.80:

min_bounces changed to min_light_bounces transparent_min_bounces was changed to min_transparent_bounces

and 'use_transparent_shadows' seems like it was removed from 2.80 and onwards.

With these changes made I can now run the script in Blender 2.90. The 'tiny' frames are rendered, the hardest frame is found, and then the script goes right on to rendering the master animation.

igarrison commented 4 years ago

No worries if you don't care about this pull request Josiah. Maybe its just fine to just leave your repo as is, frozen in a 2.79 world? I only just wanted to hack up the script to get it working in 2.90 instead of casing logic around Blender version numbers to handle these changed attributes.