Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-12-28 20:37:05 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-12-28 20:59:33 +0300
commit3f4e3f718fdc1163cc52a84d85978fa94b230211 (patch)
tree21bdaae3f63721ac481493a58d9abd37395243ce /source/blender/makesdna/DNA_layer_types.h
parenta7c5f4f20657e12b43337e32bc62a876cbbe6292 (diff)
Cycles: restore old sample and material override settings for view layers.
Since there will be no view layer overrides in 2.80, this is needed still.
Diffstat (limited to 'source/blender/makesdna/DNA_layer_types.h')
-rw-r--r--source/blender/makesdna/DNA_layer_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_layer_types.h b/source/blender/makesdna/DNA_layer_types.h
index c3e819c5538..d959d54b07f 100644
--- a/source/blender/makesdna/DNA_layer_types.h
+++ b/source/blender/makesdna/DNA_layer_types.h
@@ -76,9 +76,10 @@ typedef struct ViewLayer {
/* Old SceneRenderLayer data. */
int layflag;
int passflag; /* pass_xor has to be after passflag */
- int pass_xor;
float pass_alpha_threshold;
+ int samples;
+ struct Material *mat_override;
struct IDProperty *id_properties; /* Equivalent to datablocks ID properties. */
struct FreestyleConfig freestyle_config;