[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12424] trunk/blender/source/blender/ blenloader/intern/readfile.c: Bugfix #7629:
Joshua Leung
aligorith at gmail.com
Mon Oct 29 06:26:54 CET 2007
Revision: 12424
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12424
Author: aligorith
Date: 2007-10-29 06:26:53 +0100 (Mon, 29 Oct 2007)
Log Message:
-----------
Bugfix #7629:
Version patch for Constraints Refactor I was getting called for too many cases. This was noticeable in the way the StretchTo constraint got reset on loading.
Modified Paths:
--------------
trunk/blender/source/blender/blenloader/intern/readfile.c
Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c 2007-10-29 02:37:25 UTC (rev 12423)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c 2007-10-29 05:26:53 UTC (rev 12424)
@@ -6591,7 +6591,9 @@
Material *ma;
/* unless the file was created 2.44.3 but not 2.45, update the constraints */
- if (!(main->versionfile==244 && main->subversionfile==3)) {
+ if ( !(main->versionfile==244 && main->subversionfile==3) &&
+ ((main->versionfile<245) || (main->versionfile==245 && main->subversionfile==0)) )
+ {
for (ob = main->object.first; ob; ob= ob->id.next) {
ListBase *list;
list = &ob->constraints;
More information about the Bf-blender-cvs
mailing list