diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-18 11:10:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-18 11:10:25 +0300 |
commit | 16665ad753cd511a57108c6491f7b4bebe4dffd4 (patch) | |
tree | 5fa12562cea7bd06f1d4ad11fd001cc652e5c896 /source/blender/editors | |
parent | acd98599ffe4197e32586d6beb807638395d3e31 (diff) |
Cleanup: remove unused viewport fx_settings
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 8b02a52d7f9..b80d402aac3 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -311,13 +311,6 @@ static void view3d_free(SpaceLink *sl) MEM_freeN(vd->runtime.properties_storage); } - if (vd->fx_settings.ssao) { - MEM_freeN(vd->fx_settings.ssao); - } - if (vd->fx_settings.dof) { - MEM_freeN(vd->fx_settings.dof); - } - if (vd->shading.prop) { IDP_FreeProperty(vd->shading.prop); vd->shading.prop = NULL; @@ -355,12 +348,6 @@ static SpaceLink *view3d_duplicate(SpaceLink *sl) /* copy or clear inside new stuff */ v3dn->runtime.properties_storage = NULL; - if (v3dn->fx_settings.dof) { - v3dn->fx_settings.dof = MEM_dupallocN(v3do->fx_settings.dof); - } - if (v3dn->fx_settings.ssao) { - v3dn->fx_settings.ssao = MEM_dupallocN(v3do->fx_settings.ssao); - } return (SpaceLink *)v3dn; } |