Merge branch 'blender-v4.1-release'
This commit is contained in:
@@ -27,11 +27,13 @@ enum MetalGPUVendor {
|
||||
};
|
||||
|
||||
enum AppleGPUArchitecture {
|
||||
APPLE_UNKNOWN,
|
||||
APPLE_M1,
|
||||
APPLE_M2,
|
||||
APPLE_M2_BIG,
|
||||
APPLE_M3,
|
||||
/* Keep APPLE_UNKNOWN at the end of this enum to ensure that unknown future architectures get
|
||||
the most recent defaults when using comparison operators. */
|
||||
APPLE_UNKNOWN,
|
||||
};
|
||||
|
||||
/* Contains static Metal helper functions. */
|
||||
|
||||
@@ -827,6 +827,7 @@ static void rna_def_sculpt(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Sculpt_update");
|
||||
|
||||
prop = RNA_def_property(srna, "detail_size", PROP_FLOAT, PROP_PIXEL);
|
||||
RNA_def_property_range(prop, 0.5, 40.0);
|
||||
RNA_def_property_ui_range(prop, 0.5, 40.0, 0.1, 2);
|
||||
RNA_def_property_ui_scale_type(prop, PROP_SCALE_CUBIC);
|
||||
RNA_def_property_ui_text(
|
||||
@@ -834,6 +835,7 @@ static void rna_def_sculpt(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, nullptr);
|
||||
|
||||
prop = RNA_def_property(srna, "detail_percent", PROP_FLOAT, PROP_PERCENTAGE);
|
||||
RNA_def_property_range(prop, 0.5, 100.0);
|
||||
RNA_def_property_ui_range(prop, 0.5, 100.0, 10, 2);
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
|
||||
Reference in New Issue
Block a user