Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/space_view3d.c
| Show All 33 Lines | |||||
| #include "BLI_blenlib.h" | #include "BLI_blenlib.h" | ||||
| #include "BLI_math.h" | #include "BLI_math.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BKE_context.h" | #include "BKE_context.h" | ||||
| #include "BKE_curve.h" | #include "BKE_curve.h" | ||||
| #include "BKE_icons.h" | #include "BKE_icons.h" | ||||
| #include "BKE_idprop.h" | |||||
| #include "BKE_lattice.h" | #include "BKE_lattice.h" | ||||
| #include "BKE_main.h" | #include "BKE_main.h" | ||||
| #include "BKE_mball.h" | #include "BKE_mball.h" | ||||
| #include "BKE_mesh.h" | #include "BKE_mesh.h" | ||||
| #include "BKE_object.h" | #include "BKE_object.h" | ||||
| #include "BKE_scene.h" | #include "BKE_scene.h" | ||||
| #include "BKE_screen.h" | #include "BKE_screen.h" | ||||
| #include "BKE_workspace.h" | #include "BKE_workspace.h" | ||||
| ▲ Show 20 Lines • Show All 308 Lines • ▼ Show 20 Lines | static void view3d_free(SpaceLink *sl) | ||||
| } | } | ||||
| if (vd->fx_settings.ssao) { | if (vd->fx_settings.ssao) { | ||||
| MEM_freeN(vd->fx_settings.ssao); | MEM_freeN(vd->fx_settings.ssao); | ||||
| } | } | ||||
| if (vd->fx_settings.dof) { | if (vd->fx_settings.dof) { | ||||
| MEM_freeN(vd->fx_settings.dof); | MEM_freeN(vd->fx_settings.dof); | ||||
| } | } | ||||
| if (vd->shading.prop) { | |||||
| IDP_FreeProperty(vd->shading.prop); | |||||
| } | |||||
| } | } | ||||
| /* spacetype; init callback */ | /* spacetype; init callback */ | ||||
| static void view3d_init(wmWindowManager *UNUSED(wm), ScrArea *UNUSED(sa)) | static void view3d_init(wmWindowManager *UNUSED(wm), ScrArea *UNUSED(sa)) | ||||
| { | { | ||||
| } | } | ||||
| static SpaceLink *view3d_duplicate(SpaceLink *sl) | static SpaceLink *view3d_duplicate(SpaceLink *sl) | ||||
| ▲ Show 20 Lines • Show All 1,291 Lines • Show Last 20 Lines | |||||