diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2017-03-24 20:39:30 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-03-24 21:18:33 +0300 |
commit | 2ecaebf9656884f1fd770edee95237d907e8addb (patch) | |
tree | 65c4e5163930c5799febd9ffcce58d8bc204b069 /source/blender/blenloader | |
parent | f8bb5aac2627403aac3b068902315995a5f4ba41 (diff) |
Cycles Denoising: Make naming of the options more consistent
Used to be a mess of denoising_, denoise_ and filter_, now all start with denoising_.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index 55ddcb5e612..902cba6ad4e 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -1406,16 +1406,16 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) } { - if (!DNA_struct_elem_find(fd->filesdna, "SceneRenderLayer", "int", "denoiseflag")) { + if (!DNA_struct_elem_find(fd->filesdna, "SceneRenderLayer", "int", "denoising_flag")) { Scene *sce; for (sce = main->scene.first; sce; sce = sce->id.next) { SceneRenderLayer *rl; for (rl = sce->r.layers.first; rl; rl = rl->next) { - rl->denoiseflag = SCE_DENOISE_PASS_DIFFDIR|SCE_DENOISE_PASS_GLOSSDIR|SCE_DENOISE_PASS_TRANSDIR|SCE_DENOISE_PASS_SUBDIR| - SCE_DENOISE_PASS_DIFFIND|SCE_DENOISE_PASS_GLOSSIND|SCE_DENOISE_PASS_TRANSIND|SCE_DENOISE_PASS_SUBIND; + rl->denoising_flag = SCE_DENOISING_PASS_DIFFDIR|SCE_DENOISING_PASS_GLOSSDIR|SCE_DENOISING_PASS_TRANSDIR|SCE_DENOISING_PASS_SUBDIR| + SCE_DENOISING_PASS_DIFFIND|SCE_DENOISING_PASS_GLOSSIND|SCE_DENOISING_PASS_TRANSIND|SCE_DENOISING_PASS_SUBIND; rl->denoising_radius = 8; - rl->denoise_strength = 0.0f; + rl->denoising_strength = 0.0f; } } } |