Style cleanup
This commit is contained in:
@@ -2042,7 +2042,7 @@ void RNA_def_material(BlenderRNA *brna)
|
||||
rna_def_animdata_common(srna);
|
||||
rna_def_mtex_common(brna, srna, "rna_Material_mtex_begin", "rna_Material_active_texture_get",
|
||||
"rna_Material_active_texture_set", "rna_Material_active_texture_editable",
|
||||
"MaterialTextureSlot", "MaterialTextureSlots", "rna_Material_update", "rna_Material_update");
|
||||
"MaterialTextureSlot", "MaterialTextureSlots", "rna_Material_update", "rna_Material_update");
|
||||
|
||||
/* only material has this one */
|
||||
prop = RNA_def_property(srna, "use_textures", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -2103,8 +2103,8 @@ static void rna_def_texture_slots(BlenderRNA *brna, PropertyRNA *cprop, const ch
|
||||
}
|
||||
|
||||
void rna_def_mtex_common(BlenderRNA *brna, StructRNA *srna, const char *begin,
|
||||
const char *activeget, const char *activeset, const char *activeeditable,
|
||||
const char *structname, const char *structname_slots, const char *update, const char *update_index)
|
||||
const char *activeget, const char *activeset, const char *activeeditable,
|
||||
const char *structname, const char *structname_slots, const char *update, const char *update_index)
|
||||
{
|
||||
PropertyRNA *prop;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user