diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2017-05-04 00:30:58 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-05-04 15:19:50 +0300 |
commit | 954f201b3e1eab7bda71d318f895e81911c8189b (patch) | |
tree | a346f70489511a6043491094fd8a348c2cf075b2 /source/blender/blenloader | |
parent | a89a260634149aba9458043a98170be216f3657e (diff) |
Cycles Denoising: Move denoising properties to the Cycles addon and improve the UI
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index 3f53f1878b7..c187766b586 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -1406,22 +1406,6 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) /* ------- end of grease pencil initialization --------------- */ } - { - 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->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; - } - } - } - } - - if (!MAIN_VERSION_ATLEAST(main, 278, 0)) { if (!DNA_struct_elem_find(fd->filesdna, "MovieTrackingTrack", "float", "weight_stab")) { MovieClip *clip; |