Blender Git Commit Log

Git Commits -> Revision c722c52

Revision c722c52 by Brecht Van Lommel (master)
July 17, 2019, 14:30 (GMT)
Fix T67075: make object.visible_get() and similar APIs more forgiving

When objects are not in the view layer, just return false rather than throwing
an error. As far as the script is concerned the object is not visible or
selected when it's not in the current view layer.

Commit Details:

Full Hash: c722c5204f55105d725de8358e5d83e09c6d5fd9
Parent Commit: c1bd5bc
Lines Changed: +24, -58

1 Modified Path:

/source/blender/makesrna/intern/rna_object_api.c (+24, -58) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021