When overriding bpy.context
, it seems that I should overwrite object bases (eg selected_bases
) instead of objects (selected_objects
).
However, I have no idea what this is.
In the docs(for version < 2.80), it reads that it is
An object instance in a scene
, which sounds like the bpy.types.Object(ID)
itself. (And I hardly understand what the props like layers_local_view
are)
In the doc of 2.80 (accessed on 1 Nov), it is described as
An object instance in a render layer
,which seems more informative but still makes no sense to me.