Cartucho/vision_blender

key "ViewLayer" not found

nicola-hermann opened this issue · 2 comments

Screenshot (58)

Blender version: 2.83.18

I think the changes from March 29th screwed up the data generation pipeline for Blender 2.83

Yeah, I merged the other pull request #21 since I want the repo to be working with the latest versions.

Maybe, can you add a condition in your PR #25 that checks the blender version, and if <= 2.83 then uses the older name?

I found that we could simply replace it with "bpy.context.view_layer", this way it is not name-dependent