Blender Git Loki
Git Commits -> Revision 5290eac
Revision 5290eac by Dalai Felinto (temp-workspace-changes) 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
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)
/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)