Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_defaults.c
| Show First 20 Lines • Show All 196 Lines • ▼ Show 20 Lines | else if (area->spacetype == SPACE_VIEW3D) { | ||||
| v3d->gp_flag |= V3D_GP_SHOW_EDIT_LINES; | v3d->gp_flag |= V3D_GP_SHOW_EDIT_LINES; | ||||
| /* Remove dither pattern in wireframe mode. */ | /* Remove dither pattern in wireframe mode. */ | ||||
| v3d->shading.xray_alpha_wire = 0.0f; | v3d->shading.xray_alpha_wire = 0.0f; | ||||
| v3d->clip_start = 0.01f; | v3d->clip_start = 0.01f; | ||||
| /* Skip startups that use the viewport color by default. */ | /* Skip startups that use the viewport color by default. */ | ||||
| if (v3d->shading.background_type != V3D_SHADING_BACKGROUND_VIEWPORT) { | if (v3d->shading.background_type != V3D_SHADING_BACKGROUND_VIEWPORT) { | ||||
| copy_v3_fl(v3d->shading.background_color, 0.05f); | copy_v3_fl(v3d->shading.background_color, 0.05f); | ||||
| } | } | ||||
| /* Disable Curve Normals. */ | |||||
| v3d->overlay.edit_flag &= ~V3D_OVERLAY_EDIT_CU_NORMALS; | |||||
| } | } | ||||
| else if (area->spacetype == SPACE_CLIP) { | else if (area->spacetype == SPACE_CLIP) { | ||||
| SpaceClip *sclip = area->spacedata.first; | SpaceClip *sclip = area->spacedata.first; | ||||
| sclip->around = V3D_AROUND_CENTER_MEDIAN; | sclip->around = V3D_AROUND_CENTER_MEDIAN; | ||||
| } | } | ||||
| } | } | ||||
| /* Show tool-header by default (for most cases at least, hide for others). */ | /* Show tool-header by default (for most cases at least, hide for others). */ | ||||
| ▲ Show 20 Lines • Show All 493 Lines • Show Last 20 Lines | |||||