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:
Diffstat (limited to 'source/blender/makesdna/DNA_layer_types.h')
-rw-r--r--source/blender/makesdna/DNA_layer_types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_layer_types.h b/source/blender/makesdna/DNA_layer_types.h
index 86931401aae..d78a6af1d11 100644
--- a/source/blender/makesdna/DNA_layer_types.h
+++ b/source/blender/makesdna/DNA_layer_types.h
@@ -31,6 +31,7 @@
extern "C" {
#endif
+#include "DNA_freestyle_types.h"
#include "DNA_listBase.h"
typedef struct Base {
@@ -84,6 +85,16 @@ typedef struct SceneLayer {
struct IDProperty *properties; /* overrides */
struct IDProperty *properties_evaluated;
+ /* Old SceneRenderLayer data. */
+ int layflag;
+ int passflag; /* pass_xor has to be after passflag */
+ int pass_xor;
+ float pass_alpha_threshold;
+
+ struct IDProperty *id_properties; /* Equivalent to datablocks ID properties. */
+
+ struct FreestyleConfig freestyle_config;
+
/* Runtime data */
ListBase drawdata; /* SceneLayerEngineData */
} SceneLayer;
@@ -120,6 +131,7 @@ enum {
enum {
SCENE_LAYER_RENDER = (1 << 0),
SCENE_LAYER_ENGINE_DIRTY = (1 << 1),
+ SCENE_LAYER_FREESTYLE = (1 << 2),
};