Fix T69384: Noise Depth widgets steps set to 0
Reviewed By: brecht, lichtwerk Maniphest Tasks: T69384 Differential Revision: https://developer.blender.org/D5652
This commit is contained in:
committed by
Philipp Oeser
parent
21c099c5be
commit
97f7f5fdbb
Submodule release/datafiles/locale updated: e7cd12454a...6a6b84fd50
Submodule release/scripts/addons updated: db4f7e2dc6...8d11c9e828
Submodule release/scripts/addons_contrib updated: c6429b8c79...2769f4b5f5
@@ -835,7 +835,7 @@ static void rna_def_texture_clouds(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "noise_depth", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "noisedepth");
|
||||
RNA_def_property_range(prop, 0, 30);
|
||||
RNA_def_property_ui_range(prop, 0, 24, 0, 2);
|
||||
RNA_def_property_ui_range(prop, 0, 24, 1, 2);
|
||||
RNA_def_property_ui_text(prop, "Noise Depth", "Depth of the cloud calculation");
|
||||
RNA_def_property_update(prop, 0, "rna_Texture_nodes_update");
|
||||
|
||||
@@ -974,7 +974,7 @@ static void rna_def_texture_marble(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "noise_depth", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "noisedepth");
|
||||
RNA_def_property_range(prop, 0, 30);
|
||||
RNA_def_property_ui_range(prop, 0, 24, 0, 2);
|
||||
RNA_def_property_ui_range(prop, 0, 24, 1, 2);
|
||||
RNA_def_property_ui_text(prop, "Noise Depth", "Depth of the cloud calculation");
|
||||
RNA_def_property_update(prop, 0, "rna_Texture_update");
|
||||
|
||||
@@ -1028,7 +1028,7 @@ static void rna_def_texture_magic(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "noise_depth", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "noisedepth");
|
||||
RNA_def_property_range(prop, 0, 30);
|
||||
RNA_def_property_ui_range(prop, 0, 24, 0, 2);
|
||||
RNA_def_property_ui_range(prop, 0, 24, 1, 2);
|
||||
RNA_def_property_ui_text(prop, "Noise Depth", "Depth of the noise");
|
||||
RNA_def_property_update(prop, 0, "rna_Texture_update");
|
||||
}
|
||||
|
||||
Submodule source/tools updated: 2550eda6bc...8598818108
Reference in New Issue
Block a user