Blender Git Commits

Blender Git "master" branch commits.

Page: 1949 / 5574

November 23, 2017, 10:31 (GMT)
New view layers should be named "View Layer" (not Render Layer)
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
November 23, 2017, 05:28 (GMT)
Merge branch 'master' into blender2.8
November 23, 2017, 04:11 (GMT)
Use custom SWAP macro for swapping userdef data

Avoids complicating the common case
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.
November 22, 2017, 17:51 (GMT)
Eevee : Fix error with volumetrics.
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.
November 22, 2017, 16:20 (GMT)
Merge branch 'master' into blender2.8
November 22, 2017, 16:06 (GMT)
BLI_utildefines: Support SWAP macro with two args
November 22, 2017, 16:06 (GMT)
Fix T53274: Saving template prefs overwrites default prefs
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).
November 22, 2017, 11:50 (GMT)
Merge branch 'master' into blender2.8
November 22, 2017, 11:08 (GMT)
Depsgraph: Remove debug only code
November 22, 2017, 10:53 (GMT)
Fixup for last commit: flipped logic for disabling SceneLayer render
November 22, 2017, 10:50 (GMT)
Layers doversion: Don't set the Viewport created layer as renderable
November 22, 2017, 10:41 (GMT)
Fix SceneRenderLayer memory leak for files created with 2.8
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
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.
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.
November 22, 2017, 09:13 (GMT)
Bitflag tests simplification
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021