[Bf-blender-cvs] [85ea74ad77e] master: Cleanup: Remove unnecessary curves RNA verification disabling
Hans Goudey
noreply at git.blender.org
Tue Jan 17 19:50:24 CET 2023
Commit: 85ea74ad77ee067d037630bd59deda62e99aab4e
Author: Hans Goudey
Date: Tue Jan 17 12:43:31 2023 -0600
Branches: master
https://developer.blender.org/rB85ea74ad77ee067d037630bd59deda62e99aab4e
Cleanup: Remove unnecessary curves RNA verification disabling
There is no SDNA data for `position_data` anymore after
e9f82d3dc7eebadcc52fdc43.
===================================================================
M source/blender/makesrna/intern/rna_curves.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_curves.c b/source/blender/makesrna/intern/rna_curves.c
index 11114f298a9..3db4695a9b9 100644
--- a/source/blender/makesrna/intern/rna_curves.c
+++ b/source/blender/makesrna/intern/rna_curves.c
@@ -338,7 +338,6 @@ static void rna_def_curves(BlenderRNA *brna)
/* Direct access to built-in attributes. */
- RNA_define_verify_sdna(0);
prop = RNA_def_property(srna, "position_data", PROP_COLLECTION, PROP_NONE);
RNA_def_property_collection_funcs(prop,
"rna_Curves_position_data_begin",
@@ -351,7 +350,6 @@ static void rna_def_curves(BlenderRNA *brna)
NULL);
RNA_def_property_struct_type(prop, "FloatVectorAttributeValue");
RNA_def_property_update(prop, 0, "rna_Curves_update_data");
- RNA_define_verify_sdna(1);
prop = RNA_def_property(srna, "curve_offset_data", PROP_COLLECTION, PROP_NONE);
RNA_def_property_collection_sdna(prop, NULL, "geometry.curve_offsets", NULL);
More information about the Bf-blender-cvs
mailing list