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:
Lucas Boutrot 2019-09-03 13:28:59 +02:00 committed by Philipp Oeser
parent 21c099c5be
commit 97f7f5fdbb
Notes: blender-bot 2023-04-04 07:45:26 +02:00
Referenced by issue #69384, Noise Depth widgets steps set to 0
5 changed files with 7 additions and 7 deletions

@ -1 +1 @@
Subproject commit e7cd12454a2fe775361012cbc176fb9c370b6abb
Subproject commit 6a6b84fd50538a65276c729b5d396be615bc79f2

@ -1 +1 @@
Subproject commit db4f7e2dc66d437b205f8097c2bdf9097b5c8834
Subproject commit 8d11c9e82893e231b2abc093d815deb79866e03b

@ -1 +1 @@
Subproject commit c6429b8c79e877ac40fa900c589be2dc6aa4f512
Subproject commit 2769f4b5f5f4769cf9115fa7cdd1287540a795bf

View File

@ -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");
}

@ -1 +1 @@
Subproject commit 2550eda6bcefad45289acbb4b8e52107e742ce1f
Subproject commit 8598818108ddaf35e30d2a2dbd408ad371e41eb5