Blender Git Loki

Git Commits -> Revision 1954723

Revision 1954723 by Jeroen Bakker (master)
September 12, 2019, 11:33 (GMT)
Cycles: Fix Show Instanced Local View Objects

The local view check in the RNA didn't support instanced objects. Every
object has a copy of the local_view_bits from the base. This patch
changes the check to look at the local stored bits.

This patch removes the check if the object is part of the view_layer.
In the cases we are using it this check is not relevant. The `mesh_tissue`
add-on also uses it, and is not effected by this change.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5773

Commit Details:

Full Hash: 19547236355d59bc3888635ecbe4a9e35c1f86cb
Parent Commit: 613b37b
Lines Changed: +8, -17

2 Modified Paths:

/intern/cycles/blender/blender_object.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+7, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021