diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-11 15:21:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-11 15:21:39 +0300 |
commit | e0ca19152f5e8cfd0596a56f3be7ae73ef4ce648 (patch) | |
tree | 77ab30235aaeced877492d2ec2f3adb260bade39 /source/blender/makesdna | |
parent | 0c2a314443e8a0e38795e25b031997437278a8d7 (diff) |
DNA: initialize defaults for output paths
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_scene_defaults.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_scene_defaults.h b/source/blender/makesdna/DNA_scene_defaults.h index c2ec290252f..a49da9e3761 100644 --- a/source/blender/makesdna/DNA_scene_defaults.h +++ b/source/blender/makesdna/DNA_scene_defaults.h @@ -41,6 +41,8 @@ #define _DNA_DEFAULT_BakeData \ { \ + .im_format = _DNA_DEFAULT_ImageFormatData, \ + .filepath = "//", \ .flag = R_BAKE_CLEAR, \ .pass_filter = R_BAKE_PASS_FILTER_ALL, \ .width = 512, \ @@ -48,8 +50,6 @@ .margin = 16, \ .normal_space = R_BAKE_SPACE_TANGENT, \ .normal_swizzle = {R_BAKE_POSX, R_BAKE_POSY, R_BAKE_POSZ}, \ - \ - .im_format = _DNA_DEFAULT_ImageFormatData, \ } #define _DNA_DEFAULT_FFMpegCodecData \ @@ -113,6 +113,9 @@ .bake = _DNA_DEFAULT_BakeData, \ \ .scemode = R_DOCOMP | R_DOSEQ | R_EXTENSION, \ + \ + .pic = "//", \ + \ .stamp = R_STAMP_TIME | R_STAMP_FRAME | R_STAMP_DATE | R_STAMP_CAMERA | R_STAMP_SCENE | \ R_STAMP_FILENAME | R_STAMP_RENDERTIME | R_STAMP_MEMORY, \ .stamp_font_id = 12, \ |