Revision 99f5180 by Dalai Felinto November 23, 2017, 10:31 (GMT) |
New view layers should be named "View Layer" (not Render Layer) |
Revision 3abe8b3 by Dalai Felinto November 23, 2017, 09:48 (GMT) |
Rename any instance of scene layer or render layer in code with view layer The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927 |
Revision fb7d23b by Campbell Barton November 23, 2017, 05:28 (GMT) |
Merge branch 'master' into blender2.8 |
Revision 3bec70c by Campbell Barton November 23, 2017, 04:11 (GMT) |
Use custom SWAP macro for swapping userdef data Avoids complicating the common case |
Revision 434ed96 by Campbell Barton November 23, 2017, 04:11 (GMT) |
Revert "BLI_utildefines: Support SWAP macro with two args" This reverts commit d749320e3b10161430bc4cb7dd92edb63712bf8c. It's possible the container struct is larger, we could do sizeof checks that falls back to memmove but rather avoid complicating things. |
Revision 100ffd3 by Clément Foucault November 22, 2017, 17:51 (GMT) |
Eevee : Fix error with volumetrics. |
Revision 94d40ac by Dalai Felinto November 22, 2017, 17:42 (GMT) |
Fix doversion crash with 2.8 files that had freestyle 2.8 Crash introduced on: 3a95bdfc65d883e7db006fd We can't decrease user count of freestyle linestyle IDs before linking. Moving doversion for after linking. And for the records we are simply removing the freestyle data altogether. This is only for files created with 2.8, so it should be fine. |
Revision 73c4ba1 by Campbell Barton November 22, 2017, 16:20 (GMT) |
Merge branch 'master' into blender2.8 |
Revision d749320 by Campbell Barton November 22, 2017, 16:06 (GMT) |
BLI_utildefines: Support SWAP macro with two args |
Revision 326efb4 by Campbell Barton November 22, 2017, 16:06 (GMT) |
Fix T53274: Saving template prefs overwrites default prefs |
Revision 15a0ad6 by Dalai Felinto November 22, 2017, 12:34 (GMT) |
Fix multi layer/multi pass render But introduced on the SceneRenderLayer > RenderLayer commit: 3a95bdfc65d883e7db006f Reported by Sergey Sharybin (over irc). |
Revision 5d2b3a9 by Sergey Sharybin November 22, 2017, 11:50 (GMT) |
Merge branch 'master' into blender2.8 |
Revision 4e6f869 by Sergey Sharybin November 22, 2017, 11:08 (GMT) |
Depsgraph: Remove debug only code |
Revision 66c0f04 by Dalai Felinto November 22, 2017, 10:53 (GMT) |
Fixup for last commit: flipped logic for disabling SceneLayer render |
Revision 5265cfd by Dalai Felinto November 22, 2017, 10:50 (GMT) |
Layers doversion: Don't set the Viewport created layer as renderable |
Revision ed1278b by Dalai Felinto November 22, 2017, 10:41 (GMT) |
Fix SceneRenderLayer memory leak for files created with 2.8 |
Revision 3a95bdf by Dalai Felinto November 22, 2017, 09:13 (GMT) |
SceneRenderLayer Removal/Refactor This patch moves all the functionality previously in SceneRenderLayer to SceneLayer. If we want to rename some of these structs now would be a good time to do it, before they are in SceneLayer. Everything should be working, though I will test things further tomorrow. Once this is committed depsgraph can get rid of the workaround added in rna_Main_meshes_new_from_object and finish whatever this patch was preventing from being finished. This patch also adds a few placeholders for the overrides (samples, ...). These are obviously not working, so some unittests that rely on 'lay', and 'zmask' will fail. This patch does not addressed the change of moving samples to ViewRender (I have this as a separate patch and needs some separate discussion). Following next is the individual note of the individual parts that were committed. Note 1: It is up to Cycles to still get rid of exclude_layer internally. Note 2: Cycles still need to handle its own doversion for the use_layer_samples cases and (1) Remove the override as it is (2) Add a new override (scene.cycles.samples) if scene.cycles.use_layer_samples != IGNORE Respecting the expected behaviour when scene.cycles.use_layer_samples == BOUNDED. Note 3: Cycles still need to implement the per-object holdout (similar to how we do shadow catcher). Note 4: There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit. Reviewers: sergey, campbellbarton, brecht Differential Revision: https://developer.blender.org/D2919 |
Revision 8ba6103 by Dalai Felinto November 22, 2017, 09:13 (GMT) |
SceneRenderLayer > SceneLayer: Convert Lay There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit. |
Revision 0a6df6b by Dalai Felinto November 22, 2017, 09:13 (GMT) |
Doversion: We should always add the old RenderLayer We cannot assume a render layer does not have a setting that was needed for compositing. Even if: ``` (scene->lay & render_layer->lay) != (scene_lay) && (render_layer->lay | render_layer->lay_exclude) == 0)) ``` Which would mean use the scene layers just as they are. |
Revision cb67be3 by Dalai Felinto November 22, 2017, 09:13 (GMT) |
Bitflag tests simplification |
|