Blender Git Commit Log

Git Commits -> Revision 5290eac

September 14, 2017, 09: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: 5290eacd192532c86ef45c10c829e99db65b2551
Parent Commit: 7775545
Lines Changed: +50, -37

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019