startup: view background color wasn't default
authorCampbell Barton <ideasman42@gmail.com>
Fri, 11 Jan 2019 02:15:38 +0000 (13:15 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 11 Jan 2019 02:15:38 +0000 (13:15 +1100)
source/blender/blenloader/intern/versioning_defaults.c

index cc677ad10a077d9bcf183b6859e4c62ee62bb2b9..91cd0bdc67045043c502cb6c4b6f7454cb32c907 100644 (file)
@@ -137,6 +137,7 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
                                                /* grease pencil settings */
                                                v3d->vertex_opacity = 1.0f;
                                                v3d->gp_flag |= V3D_GP_SHOW_EDIT_LINES;
+                                               copy_v3_fl(v3d->shading.background_color, 0.05f);
                                                break;
                                        }
                                        case SPACE_FILE: