Fix #145879: UV Sculpt settings missing from new scene

Pull Request: https://projects.blender.org/blender/blender/pulls/145945
This commit is contained in:
Sean Kim
2025-09-09 02:02:48 +02:00
committed by Sean Kim
parent bbc0b35bef
commit a38c29aa0b

View File

@@ -352,6 +352,13 @@
.sharp_max = DEG2RADF(180.0f), \
}
#define _DNA_DEFAULTS_UvSculpt \
{ \
.size = 100, \
.strength = 1.0f, \
.curve_preset = BRUSH_CURVE_SMOOTH, \
}
#define _DNA_DEFAULT_ToolSettings \
{ \
.object_flag = SCE_OBJECT_MODE_LOCK, \
@@ -418,6 +425,7 @@
.gpencil_v2d_align = GP_PROJECT_VIEWSPACE, \
\
/* UV painting */ \
.uvsculpt = _DNA_DEFAULTS_UvSculpt, \
.uv_sculpt_settings = 0, \
\
/* Placement */ \