diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c index e975c80a440..e8fd753d16a 100644 --- a/source/blender/makesrna/intern/rna_texture.c +++ b/source/blender/makesrna/intern/rna_texture.c @@ -445,10 +445,6 @@ static void rna_def_texture_marble(BlenderRNA *brna) StructRNA *srna; PropertyRNA *prop; - srna= RNA_def_struct(brna, "MarbleTexture", "Texture"); - RNA_def_struct_ui_text(srna, "Marble Texture", "Procedural noise texture."); - RNA_def_struct_sdna(srna, "Tex"); - static EnumPropertyItem prop_marble_stype[] = { {TEX_SOFT, "SOFT", "Soft", "Uses soft marble"}, {TEX_SHARP, "SHARP", "Sharp", "Uses more clearly defined marble"}, @@ -463,6 +459,10 @@ static void rna_def_texture_marble(BlenderRNA *brna) {0, NULL, NULL, NULL} }; + srna= RNA_def_struct(brna, "MarbleTexture", "Texture"); + RNA_def_struct_ui_text(srna, "Marble Texture", "Procedural noise texture."); + RNA_def_struct_sdna(srna, "Tex"); + prop= RNA_def_property(srna, "noise_size", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "noisesize"); RNA_def_property_range(prop, 0.0001, FLT_MAX);