diff options
author | Ton Roosendaal <ton@blender.org> | 2007-02-07 12:17:57 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-02-07 12:17:57 +0300 |
commit | 15750c82cd27055a26fa60c84c40c1216942eae5 (patch) | |
tree | 7a6e3ea5008d2210c96447cee05292b75f4e043c /source/blender/makesdna | |
parent | b3e6a6a9c13295835bc145b531c377edc1e96647 (diff) |
Upward compatibility fix:
Redundant variables for postprocess gamma, multiply etc were removed.
Unfortunately that makes new saved .blend files initialize these vars
to 0.0, so renders come out black entirely.
Lets keep them in for at least 1 release cycle. Just 16 bytes per
scene :)
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index f37f508f703..df99c5c531e 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -255,7 +255,10 @@ typedef struct RenderData { * Value used to define filter size for all filter options */ float gauss; - /* Dither noise intensity */ + /** post-production settings. Depricated, but here for upwards compat (initialized to 1) */ + float postmul, postgamma, posthue, postsat; + + /* Dither noise intensity */ float dither_intensity; /* Bake Render options */ |