Blender Git Loki

Git Commits -> Revision 861697c

Revision 861697c by Jeroen Bakker (master)
September 12, 2019, 07:08 (GMT)
Cycles: Initial Support For Local View

This diff will add support for local view to Cycles rendered preview mode.

Currently the implementation shows same results as EEVEE does. This entails
a difference with Blender 2.79, where lights were automatically added to the
local view. {T69780} describes this should be solved before the next release.

This patch also solves missing `owner_id` issues when using the RNA CPP Api
from Cycles. Cycles didn't provide the `owner_id` making some functionality
fail, what then was worked around in Blender. It also fixes an issue in
`makesrna` where incorrect CPP code was generated when only `PARM_RNAPTR`
was provided.

An optional `view_layer` parameter is added to the `Object.local_view_get`
method to reduce lookups.

Reviewed By: brecht

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

Commit Details:

Full Hash: 861697c9e55bad362fc493e263fe966095744b37
Parent Commit: 70a9347
Lines Changed: +52, -25

6 Modified Paths:

/intern/cycles/blender/addon/engine.py (+5, -1) (Diff)
/intern/cycles/blender/blender_object.cpp (+3, -1) (Diff)
/intern/cycles/blender/blender_python.cpp (+8, -5) (Diff)
/source/blender/makesrna/intern/makesrna.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+30, -13) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021