[Bf-blender-cvs] [b1976d131c7] master: Fix broken Alembic tests following motion blur commit
Kévin Dietrich
noreply at git.blender.org
Tue Aug 4 16:23:38 CEST 2020
Commit: b1976d131c73a109b8cfdcc34ce126b431c4285b
Author: Kévin Dietrich
Date: Tue Aug 4 16:10:51 2020 +0200
Branches: master
https://developer.blender.org/rBb1976d131c73a109b8cfdcc34ce126b431c4285b
Fix broken Alembic tests following motion blur commit
The tests were broken because of an extra call to
RNA_def_struct_name_property which set the name of the velocity
attribute to be the string used to identify CacheFiles in
bpy.data.cachefiles.
===================================================================
M source/blender/makesrna/intern/rna_cachefile.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_cachefile.c b/source/blender/makesrna/intern/rna_cachefile.c
index 00cd95c4492..c25cea1b4b3 100644
--- a/source/blender/makesrna/intern/rna_cachefile.c
+++ b/source/blender/makesrna/intern/rna_cachefile.c
@@ -180,7 +180,6 @@ static void rna_def_cachefile(BlenderRNA *brna)
RNA_def_property_ui_text(prop,
"Velocity Attribute",
"Name of the Alembic attribute used for generating motion blur data");
- RNA_def_struct_name_property(srna, prop);
RNA_def_property_update(prop, 0, "rna_CacheFile_update");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
More information about the Bf-blender-cvs
mailing list