RNA: ignore some large arrays in override code #107196
|
@ -753,6 +753,7 @@ static void rna_def_attribute_float(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "FloatAttributeValue");
|
RNA_def_property_struct_type(prop, "FloatAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -785,6 +786,7 @@ static void rna_def_attribute_float_vector(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "FloatVectorAttributeValue");
|
RNA_def_property_struct_type(prop, "FloatVectorAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -823,6 +825,7 @@ static void rna_def_attribute_float_color(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "FloatColorAttributeValue");
|
RNA_def_property_struct_type(prop, "FloatColorAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -870,6 +873,7 @@ static void rna_def_attribute_byte_color(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "ByteColorAttributeValue");
|
RNA_def_property_struct_type(prop, "ByteColorAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -918,6 +922,7 @@ static void rna_def_attribute_int(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "IntAttributeValue");
|
RNA_def_property_struct_type(prop, "IntAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -947,6 +952,7 @@ static void rna_def_attribute_string(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "StringAttributeValue");
|
RNA_def_property_struct_type(prop, "StringAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -976,6 +982,7 @@ static void rna_def_attribute_bool(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -1005,6 +1012,7 @@ static void rna_def_attribute_int8(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "ByteIntAttributeValue");
|
RNA_def_property_struct_type(prop, "ByteIntAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -1036,6 +1044,7 @@ static void rna_def_attribute_int2(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "Int2AttributeValue");
|
RNA_def_property_struct_type(prop, "Int2AttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -1071,6 +1080,7 @@ static void rna_def_attribute_float2(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "Float2AttributeValue");
|
RNA_def_property_struct_type(prop, "Float2AttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Attribute_data_begin",
|
"rna_Attribute_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
|
|
@ -345,6 +345,7 @@ static void rna_def_curves_curve(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "CurvePoint");
|
RNA_def_property_struct_type(prop, "CurvePoint");
|
||||||
RNA_def_property_ui_text(prop, "Points", "Control points of the curve");
|
RNA_def_property_ui_text(prop, "Points", "Control points of the curve");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_CurveSlice_points_begin",
|
"rna_CurveSlice_points_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -384,6 +385,7 @@ static void rna_def_curves(BlenderRNA *brna)
|
||||||
/* Point and Curve RNA API helpers. */
|
/* Point and Curve RNA API helpers. */
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "curves", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "curves", PROP_COLLECTION, PROP_NONE);
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Curves_curves_begin",
|
"rna_Curves_curves_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -398,6 +400,7 @@ static void rna_def_curves(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "CurvePoint");
|
RNA_def_property_struct_type(prop, "CurvePoint");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Curves_position_data_begin",
|
"rna_Curves_position_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -412,6 +415,7 @@ static void rna_def_curves(BlenderRNA *brna)
|
||||||
/* Direct access to built-in attributes. */
|
/* Direct access to built-in attributes. */
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "position_data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "position_data", PROP_COLLECTION, PROP_NONE);
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Curves_position_data_begin",
|
"rna_Curves_position_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -426,6 +430,7 @@ static void rna_def_curves(BlenderRNA *brna)
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "curve_offset_data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "curve_offset_data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "IntAttributeValue");
|
RNA_def_property_struct_type(prop, "IntAttributeValue");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_Curves_curve_offset_data_begin",
|
"rna_Curves_curve_offset_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -440,6 +445,7 @@ static void rna_def_curves(BlenderRNA *brna)
|
||||||
rna_def_read_only_float_vector(brna);
|
rna_def_read_only_float_vector(brna);
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "normals", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "normals", PROP_COLLECTION, PROP_NONE);
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_struct_type(prop, "FloatVectorValueReadOnly");
|
RNA_def_property_struct_type(prop, "FloatVectorValueReadOnly");
|
||||||
/* `lookup_int` isn't provided since the entire normals array is allocated and calculated when
|
/* `lookup_int` isn't provided since the entire normals array is allocated and calculated when
|
||||||
* it's accessed. */
|
* it's accessed. */
|
||||||
|
|
|
@ -3107,6 +3107,7 @@ static void rna_def_mloopuv(BlenderRNA *brna)
|
||||||
prop,
|
prop,
|
||||||
"MeshUVLoop (Deprecated)",
|
"MeshUVLoop (Deprecated)",
|
||||||
"Deprecated, use 'uv', 'vertex_select', 'edge_select' or 'pin' properties instead");
|
"Deprecated, use 'uv', 'vertex_select', 'edge_select' or 'pin' properties instead");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshUVLoopLayer_data_begin",
|
"rna_MeshUVLoopLayer_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -3147,6 +3148,7 @@ static void rna_def_mloopuv(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "uv", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "uv", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "Float2AttributeValue");
|
RNA_def_property_struct_type(prop, "Float2AttributeValue");
|
||||||
RNA_def_property_ui_text(prop, "UV", "UV coordinates on face corners");
|
RNA_def_property_ui_text(prop, "UV", "UV coordinates on face corners");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshUVLoopLayer_uv_begin",
|
"rna_MeshUVLoopLayer_uv_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -3161,6 +3163,7 @@ static void rna_def_mloopuv(BlenderRNA *brna)
|
||||||
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
||||||
RNA_def_property_ui_text(
|
RNA_def_property_ui_text(
|
||||||
prop, "UV Vertex Selection", "Selection state of the face corner the UV editor");
|
prop, "UV Vertex Selection", "Selection state of the face corner the UV editor");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshUVLoopLayer_vert_select_begin",
|
"rna_MeshUVLoopLayer_vert_select_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -3175,6 +3178,7 @@ static void rna_def_mloopuv(BlenderRNA *brna)
|
||||||
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
||||||
RNA_def_property_ui_text(
|
RNA_def_property_ui_text(
|
||||||
prop, "UV Edge Selection", "Selection state of the edge in the UV editor");
|
prop, "UV Edge Selection", "Selection state of the edge in the UV editor");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshUVLoopLayer_edge_select_begin",
|
"rna_MeshUVLoopLayer_edge_select_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -3188,6 +3192,7 @@ static void rna_def_mloopuv(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "pin", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "pin", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
||||||
RNA_def_property_ui_text(prop, "UV Pin", "UV pinned state in the UV editor");
|
RNA_def_property_ui_text(prop, "UV Pin", "UV pinned state in the UV editor");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshUVLoopLayer_pin_begin",
|
"rna_MeshUVLoopLayer_pin_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -3256,6 +3261,7 @@ static void rna_def_mloopcol(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "MeshLoopColor");
|
RNA_def_property_struct_type(prop, "MeshLoopColor");
|
||||||
RNA_def_property_ui_text(prop, "Data", "");
|
RNA_def_property_ui_text(prop, "Data", "");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshLoopColorLayer_data_begin",
|
"rna_MeshLoopColorLayer_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -3317,6 +3323,7 @@ static void rna_def_MPropCol(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "MeshVertColor");
|
RNA_def_property_struct_type(prop, "MeshVertColor");
|
||||||
RNA_def_property_ui_text(prop, "Data", "");
|
RNA_def_property_ui_text(prop, "Data", "");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshVertColorLayer_data_begin",
|
"rna_MeshVertColorLayer_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -3362,6 +3369,7 @@ static void rna_def_mproperties(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE); \
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE); \
|
||||||
RNA_def_property_struct_type(prop, "Mesh" elemname "FloatProperty"); \
|
RNA_def_property_struct_type(prop, "Mesh" elemname "FloatProperty"); \
|
||||||
RNA_def_property_ui_text(prop, "Data", ""); \
|
RNA_def_property_ui_text(prop, "Data", ""); \
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE); \
|
||||||
RNA_def_property_collection_funcs(prop, \
|
RNA_def_property_collection_funcs(prop, \
|
||||||
"rna_Mesh" elemname "FloatPropertyLayer_data_begin", \
|
"rna_Mesh" elemname "FloatPropertyLayer_data_begin", \
|
||||||
"rna_iterator_array_next", \
|
"rna_iterator_array_next", \
|
||||||
|
@ -3405,6 +3413,7 @@ static void rna_def_mproperties(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE); \
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE); \
|
||||||
RNA_def_property_struct_type(prop, "Mesh" elemname "IntProperty"); \
|
RNA_def_property_struct_type(prop, "Mesh" elemname "IntProperty"); \
|
||||||
RNA_def_property_ui_text(prop, "Data", ""); \
|
RNA_def_property_ui_text(prop, "Data", ""); \
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE); \
|
||||||
RNA_def_property_collection_funcs(prop, \
|
RNA_def_property_collection_funcs(prop, \
|
||||||
"rna_Mesh" elemname "IntPropertyLayer_data_begin", \
|
"rna_Mesh" elemname "IntPropertyLayer_data_begin", \
|
||||||
"rna_iterator_array_next", \
|
"rna_iterator_array_next", \
|
||||||
|
@ -3447,6 +3456,7 @@ static void rna_def_mproperties(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE); \
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE); \
|
||||||
RNA_def_property_struct_type(prop, "Mesh" elemname "StringProperty"); \
|
RNA_def_property_struct_type(prop, "Mesh" elemname "StringProperty"); \
|
||||||
RNA_def_property_ui_text(prop, "Data", ""); \
|
RNA_def_property_ui_text(prop, "Data", ""); \
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE); \
|
||||||
RNA_def_property_collection_funcs(prop, \
|
RNA_def_property_collection_funcs(prop, \
|
||||||
"rna_Mesh" elemname "StringPropertyLayer_data_begin", \
|
"rna_Mesh" elemname "StringPropertyLayer_data_begin", \
|
||||||
"rna_iterator_array_next", \
|
"rna_iterator_array_next", \
|
||||||
|
@ -3955,6 +3965,7 @@ static void rna_def_skin_vertices(BlenderRNA *brna, PropertyRNA *UNUSED(cprop))
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "MeshSkinVertex");
|
RNA_def_property_struct_type(prop, "MeshSkinVertex");
|
||||||
RNA_def_property_ui_text(prop, "Data", "");
|
RNA_def_property_ui_text(prop, "Data", "");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshSkinVertexLayer_data_begin",
|
"rna_MeshSkinVertexLayer_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -4008,6 +4019,7 @@ static void rna_def_vertex_creases(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "MeshVertexCrease");
|
RNA_def_property_struct_type(prop, "MeshVertexCrease");
|
||||||
RNA_def_property_ui_text(prop, "Data", "");
|
RNA_def_property_ui_text(prop, "Data", "");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshVertexCreaseLayer_data_begin",
|
"rna_MeshVertexCreaseLayer_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -4042,6 +4054,7 @@ static void rna_def_edge_creases(BlenderRNA *brna)
|
||||||
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "MeshEdgeCrease");
|
RNA_def_property_struct_type(prop, "MeshEdgeCrease");
|
||||||
RNA_def_property_ui_text(prop, "Data", "");
|
RNA_def_property_ui_text(prop, "Data", "");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshEdgeCreaseLayer_data_begin",
|
"rna_MeshEdgeCreaseLayer_data_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
|
|
@ -177,6 +177,7 @@ static void rna_def_pointcloud(BlenderRNA *brna)
|
||||||
/* geometry */
|
/* geometry */
|
||||||
prop = RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "Point");
|
RNA_def_property_struct_type(prop, "Point");
|
||||||
|
RNA_def_property_override_flag(prop, PROPOVERRIDE_IGNORE);
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_PointCloud_points_begin",
|
"rna_PointCloud_points_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
|
Loading…
Reference in New Issue