yuki-koyama / blender-cli-rendering

Blender Python scripts for rendering images directly from command-line interface
GNU General Public License v3.0
756 stars 108 forks source link

"active" removed in Blender 2.8 #4

Closed yuki-koyama closed 5 years ago

yuki-koyama commented 5 years ago

Though the scripts are mainly written for Blender 2.79, it would be better if it works with Blender 2.8 as well. Blender 2.8 produces the following error:

AttributeError: bpy_prop_collection: attribute "active" not found

API Changes: https://en.blender.org/index.php/Dev:2.8/Source/LayersCollections/API-Changes

yuki-koyama commented 5 years ago

The PR #17 resolved this issue.