The view layer "base" element (the parent that the individual layers are nested in) does not point to any data in its `directdata`, definitely not to a view layer. Don't cast it to one, this can cause undefined behavior when the pointer is not null.
The view layer "base" element (the parent that the individual layers are nested in) does not point to any data in its `directdata`, definitely not to a view layer. Don't cast it to one, this can cause undefined behavior when the pointer is not null.