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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-15 22:32:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-15 22:32:08 +0400
commit78f9bb6e913c6c87080c9bf1a91712d83a415154 (patch)
tree4dd8f90a0b0c37cfab7ed98195809bbff8348be6 /source/blender/blenloader
parent576ce5928f184b4f78dc0b48fdb8726cf320047b (diff)
parent93526b4c72f76f8d8d382a11e7d0f8e4f21c4a7c (diff)
svn merge ^/trunk/blender -r44118:44136
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index cee6e50ba5f..a0811fb0fcd 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -13136,20 +13136,18 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
}
}
}
-
- /* put compatibility code here until next subversion bump */
+
+ if (main->versionfile < 262)
{
- {
- Object *ob;
- for(ob=main->object.first; ob; ob= ob->id.next) {
- ModifierData *md;
+ Object *ob;
+ for(ob=main->object.first; ob; ob= ob->id.next) {
+ ModifierData *md;
- for (md=ob->modifiers.first; md; md=md->next) {
- if (md->type==eModifierType_Cloth) {
- ClothModifierData *clmd = (ClothModifierData*) md;
- if(clmd->sim_parms)
- clmd->sim_parms->vel_damping = 1.0f;
- }
+ for (md=ob->modifiers.first; md; md=md->next) {
+ if (md->type==eModifierType_Cloth) {
+ ClothModifierData *clmd = (ClothModifierData*) md;
+ if(clmd->sim_parms)
+ clmd->sim_parms->vel_damping = 1.0f;
}
}
}