Blender Git Loki

Git Commits -> Revision a2a3e04

Revision a2a3e04 by Dalai Felinto
September 8, 2017, 19:42 (GMT)
Workspace: SETLOOPER should get render layer from workspace

Right now we are still passing NULL instead of the workspace in most of
those cases. That shouldn't matter much since this will simply bring
back the previous behaviour.

Also, most of those calls (gpu_material.c, view3d_draw_legacy.c,
render_internal.c) are from deprecated areas of Blender anyways.

The areas that will need to be addressed are:
* physics (collision.c)
* particles (pointcache.c)
* sound (sound.c)

And of course:
* game engine (BL_BlenderDataCoversion.cpp)

It's not clear to me, however, why some of those areas are using the
SET_LOOPER in the first place. SET_LOOPER acts on top of bases so we
want to iterate over the SceneLayer objects, not all of scene ones.

However in some cases it seems that the original design was expecting to
loop over all the objects (+ the set objects).

Commit Details:

Full Hash: a2a3e040d424d0f284493e05a6ffa46cb7bf00c3
Parent Commit: bb8f2c5
Lines Changed: +50, -37

12 Modified Paths:

/source/blender/blenkernel/BKE_scene.h (+5, -5) (Diff)
/source/blender/blenkernel/intern/collision.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+13, -10) (Diff)
/source/blender/blenkernel/intern/sound.c (+1, -1) (Diff)
/source/blender/editors/render/render_internal.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+4, -4) (Diff)
/source/blender/gpu/intern/gpu_material.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+15, -5) (Diff)
/source/blender/render/intern/source/convertblender.c (+1, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -1) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021