Closed wlcosta closed 2 years ago
Using the current code on Blender 2.8 yields the following error:
bpy.data.objects['Camera'].select = True AttributeError: 'Object' object has no attribute 'select'
According to API changes in Blender 2.8:
In 2.7x, you could directly (de)select an Object from its select property. This has been removed in 2.8x, in favor of some get/set functions.
Therefore, we need to change this piece of code to allow for direct usage on Blender 2.8, which is now the default for installation.
Using the current code on Blender 2.8 yields the following error:
According to API changes in Blender 2.8:
In 2.7x, you could directly (de)select an Object from its select property. This has been removed in 2.8x, in favor of some get/set functions.
Therefore, we need to change this piece of code to allow for direct usage on Blender 2.8, which is now the default for installation.