diff options
Diffstat (limited to 'source/blender/blenloader/intern/versioning_defaults.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_defaults.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c index 925a87cb653..910a3c28286 100644 --- a/source/blender/blenloader/intern/versioning_defaults.c +++ b/source/blender/blenloader/intern/versioning_defaults.c @@ -127,9 +127,9 @@ void BLO_update_defaults_startup_blend(Main *bmain) scene->r.im_format.planes = R_IMF_PLANES_RGBA; scene->r.im_format.compress = 15; - for (SceneRenderLayer *srl = scene->r.layers.first; srl; srl = srl->next) { - srl->freestyleConfig.sphere_radius = 0.1f; - srl->pass_alpha_threshold = 0.5f; + for (SceneLayer *scene_layer = scene->render_layers.first; scene_layer; scene_layer = scene_layer->next) { + scene_layer->freestyle_config.sphere_radius = 0.1f; + scene_layer->pass_alpha_threshold = 0.5f; } if (scene->toolsettings) { |