[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13189] trunk/blender/source/blender: resolving back compatibility issues
Jens Ole Wund (bjornmose)
bjornmose at gmx.net
Thu Jan 10 01:07:31 CET 2008
Revision: 13189
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13189
Author: bjornmose
Date: 2008-01-10 01:07:31 +0100 (Thu, 10 Jan 2008)
Log Message:
-----------
resolving back compatibility issues
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/softbody.c
trunk/blender/source/blender/blenloader/intern/readfile.c
Modified: trunk/blender/source/blender/blenkernel/intern/softbody.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/softbody.c 2008-01-09 23:22:34 UTC (rev 13188)
+++ trunk/blender/source/blender/blenkernel/intern/softbody.c 2008-01-10 00:07:31 UTC (rev 13189)
@@ -3622,7 +3622,7 @@
sb->inspring= 0.5f;
sb->infrict= 0.5f;
- /*todo backward file compat should copy infrict to inpush while reading old files*/
+ /*todo backward file compat should copy inspring to inpush while reading old files*/
sb->inpush = 0.5f;
sb->interval= 10;
Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c 2008-01-09 23:22:34 UTC (rev 13188)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c 2008-01-10 00:07:31 UTC (rev 13189)
@@ -7270,6 +7270,10 @@
strip->scale = length / (repeat * actlength);
if (strip->scale == 0.0f) strip->scale= 1.0f;
}
+ if(ob->soft){
+ ob->soft->inpush = ob->soft->inspring;
+ ob->soft->shearstiff = 1.0f;
+ }
}
}
More information about the Bf-blender-cvs
mailing list