Page MenuHome

Exposing BASE_HIDDEN flag to python
AbandonedPublic

Authored by dima glib (dairin0d) on Feb 23 2019, 12:08 PM.

Details

Summary

Object base's HIDDEN state wasn't accessible via python, so here is an attempt to fix that.

I have virtually zero experience with Blender's inner workings, so I'm not completely sure I did everything optimally/correctly ^_^"

Diff Detail

Event Timeline

By the way, some functions (rna_Object_select_get, rna_Object_visible_get, ...) are missing the view_layer parameter and always get the selected/visible/etc. state from the current context's view layer, while other functions (rna_Object_holdout_get, indirect_only_get) require to specify the view layer explicitly. Is this an oversight or an intentional design?