[Bf-blender-cvs] [e0ca19152f5] master: DNA: initialize defaults for output paths

Campbell Barton noreply at git.blender.org
Wed Sep 11 14:24:13 CEST 2019


Commit: e0ca19152f5e8cfd0596a56f3be7ae73ef4ce648
Author: Campbell Barton
Date:   Wed Sep 11 22:21:39 2019 +1000
Branches: master
https://developer.blender.org/rBe0ca19152f5e8cfd0596a56f3be7ae73ef4ce648

DNA: initialize defaults for output paths

===================================================================

M	source/blender/makesdna/DNA_scene_defaults.h

===================================================================

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, \



More information about the Bf-blender-cvs mailing list