Python API: Add deprecation warning to MeshUVLoop #105970
|
@ -2985,6 +2985,10 @@ static void rna_def_mloopuv(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshUVLoop");
|
||||
RNA_def_property_ui_text(
|
||||
|
||||
prop,
|
||||
"MeshUVLoop (Deprecated)",
|
||||
"Deprecated, use 'uv', 'vertex_select', 'edge_select' or 'pin' properties instead");
|
||||
RNA_def_property_collection_funcs(prop,
|
||||
"rna_MeshUVLoopLayer_data_begin",
|
||||
"rna_iterator_array_next",
|
||||
|
|
Loading…
Reference in New Issue
I think
struct
isn't exactly the right word in Python, I'd recommend just skippingThis struct is
at the front.Quotes around property names are typical too.