Change default margin for bake to 16 pixels
authorAntony Riakiotakis <kalast@gmail.com>
Mon, 4 Mar 2013 15:58:40 +0000 (15:58 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Mon, 4 Mar 2013 15:58:40 +0000 (15:58 +0000)
release/datafiles/startup.blend
source/blender/blenkernel/intern/scene.c
source/blender/blenloader/intern/versioning_legacy.c

index d19cd41..e5d781e 100644 (file)
Binary files a/release/datafiles/startup.blend and b/release/datafiles/startup.blend differ
index 5498122..369a6e8 100644 (file)
@@ -435,7 +435,7 @@ Scene *BKE_scene_add(Main *bmain, const char *name)
        sce->r.postsat = 1.0;
 
        sce->r.bake_mode = 1;    /* prevent to include render stuff here */
-       sce->r.bake_filter = 2;
+       sce->r.bake_filter = 16;
        sce->r.bake_osa = 5;
        sce->r.bake_flag = R_BAKE_CLEAR;
        sce->r.bake_normal_space = R_BAKE_SPACE_TANGENT;
index 65a60e1..5e1b824 100644 (file)
@@ -2550,7 +2550,7 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main)
                if (main->subversionfile < 4) {
                        for (sce = main->scene.first; sce; sce = sce->id.next) {
                                sce->r.bake_mode = 1;   /* prevent to include render stuff here */
-                               sce->r.bake_filter = 2;
+                               sce->r.bake_filter = 16;
                                sce->r.bake_osa = 5;
                                sce->r.bake_flag = R_BAKE_CLEAR;
                        }