Commit: 247de3f9db4813425b9def862d123219c9916a8b
Author: Lukas Tönne
Date:   Sun May 3 19:25:54 2015 +0200
Branches: alembic
https://developer.blender.org/rB247de3f9db4813425b9def862d123219c9916a8b

Fix for incorrect/unnecessary storage of Key data in readfile.

The Key struct in the cache strands shape modifier is in fact "owned"
by the modifier, but linked in the Main blenddata, so it does not have
to be written explicitly.

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

M       source/blender/blenloader/intern/writefile.c

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

diff --git a/source/blender/blenloader/intern/writefile.c 
b/source/blender/blenloader/intern/writefile.c
index 74eed66..6210eee 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -3548,12 +3548,6 @@ static void write_cache_modifiers(WriteData *wd, 
CacheLibrary *cachelib)
                                        write_curvemapping(wd, 
hsmd->sim_params.goal_stiffness_mapping);
                                break;
                        }
-                       case eCacheModifierType_StrandsKey: {
-                               StrandsKeyCacheModifier *skmd = 
(StrandsKeyCacheModifier *)md;
-                               /* Key is a local ID block */
-                               writestruct(wd, DATA, "Key", 1, skmd->key);
-                               break;
-                       }
                }
        }
 }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to