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 ^_^"
Differential D4397
Exposing BASE_HIDDEN flag to python Authored by dima glib (dairin0d) on Feb 23 2019, 12:08 PM. Tags Subscribers None
Details 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 TimelineComment Actions 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? Comment Actions Solved by Blender developers themselves in https://developer.blender.org/rBcae89a6889e0fc03130a56b6bf84e257eaff0fec |