Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2020-08-04 17:10:51 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2020-08-04 17:10:51 +0300
commitb1976d131c73a109b8cfdcc34ce126b431c4285b (patch)
tree6d86aa6951ec97ea27a89a6038ac2c4129d5768c /source
parent7bad5e0d185503ec438ed48af4fbd487adf581cc (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_cachefile.c1
1 files changed, 0 insertions, 1 deletions
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);