[Bf-blender-cvs] [e8fb1b3] alembic: Fix for incorrect update callback in haircut cache modifier, leading to unrelated property changes.

Lukas Tönne noreply at git.blender.org
Wed May 27 17:56:16 CEST 2015


Commit: e8fb1b3ecfaa255830901013a8957db7df8e50a4
Author: Lukas Tönne
Date:   Wed May 27 17:55:13 2015 +0200
Branches: alembic
https://developer.blender.org/rBe8fb1b3ecfaa255830901013a8957db7df8e50a4

Fix for incorrect update callback in haircut cache modifier, leading
to unrelated property changes.

===================================================================

M	source/blender/makesrna/intern/rna_cache_library.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_cache_library.c b/source/blender/makesrna/intern/rna_cache_library.c
index 08ae70c..15f9ed7 100644
--- a/source/blender/makesrna/intern/rna_cache_library.c
+++ b/source/blender/makesrna/intern/rna_cache_library.c
@@ -788,7 +788,7 @@ static void rna_def_cache_modifier_haircut(BlenderRNA *brna)
 	RNA_def_property_enum_items(prop, cut_mode_items);
 	RNA_def_property_flag(prop, PROP_ENUM_FLAG);
 	RNA_def_property_ui_text(prop, "Cut Mode", "When to cut strands with the target");
-	RNA_def_property_update(prop, 0, "rna_CacheLibrary_update");
+	RNA_def_property_update(prop, 0, "rna_CacheModifier_update");
 }
 
 static void rna_def_cache_modifier(BlenderRNA *brna)




More information about the Bf-blender-cvs mailing list