Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_defaults.c
| Context not available. | |||||
| v3d->overlay.vertex_paint_mode_opacity = 1.0f; | v3d->overlay.vertex_paint_mode_opacity = 1.0f; | ||||
| /* Use dimmed selected edges. */ | /* Use dimmed selected edges. */ | ||||
| v3d->overlay.edit_flag &= ~V3D_OVERLAY_EDIT_EDGES; | v3d->overlay.edit_flag &= ~V3D_OVERLAY_EDIT_EDGES; | ||||
| /* Show xray facedots */ | |||||
| v3d->overlay.edit_flag |= V3D_OVERLAY_EDIT_FACE_DOT_XRAY; | |||||
| /* grease pencil settings */ | /* grease pencil settings */ | ||||
| v3d->vertex_opacity = 1.0f; | v3d->vertex_opacity = 1.0f; | ||||
| v3d->gp_flag |= V3D_GP_SHOW_EDIT_LINES; | v3d->gp_flag |= V3D_GP_SHOW_EDIT_LINES; | ||||
| Context not available. | |||||
| /* Enable Soft Shadows by default. */ | /* Enable Soft Shadows by default. */ | ||||
| scene->eevee.flag |= SCE_EEVEE_SHADOW_SOFT; | scene->eevee.flag |= SCE_EEVEE_SHADOW_SOFT; | ||||
| /* Be sure `curfalloff` and primitive are initialized. */ | /* Select xray facedots */ | ||||
| ToolSettings *ts = scene->toolsettings; | ToolSettings *ts = scene->toolsettings; | ||||
| ts->select_xray_facedots = true; | |||||
| /* Be sure `curfalloff` and primitive are initialized. */ | |||||
| if (ts->gp_sculpt.cur_falloff == NULL) { | if (ts->gp_sculpt.cur_falloff == NULL) { | ||||
| ts->gp_sculpt.cur_falloff = BKE_curvemapping_add(1, 0.0f, 0.0f, 1.0f, 1.0f); | ts->gp_sculpt.cur_falloff = BKE_curvemapping_add(1, 0.0f, 0.0f, 1.0f, 1.0f); | ||||
| CurveMapping *gp_falloff_curve = ts->gp_sculpt.cur_falloff; | CurveMapping *gp_falloff_curve = ts->gp_sculpt.cur_falloff; | ||||
| Context not available. | |||||