Revision: 41518
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41518
Author:   nazgul
Date:     2011-11-04 09:29:58 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------
Do not run versioning code for new files. All stuff from current verisoning
block was written before 2.60 release, so it should be safe to move it into
if'ed block checking version number.

This patch should also fix bug #29147 which was caused by old->new particle
rotation mode switch.

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   2011-11-04 
09:14:49 UTC (rev 41517)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c   2011-11-04 
09:29:58 UTC (rev 41518)
@@ -12121,8 +12121,7 @@
 
        }
 
-       /* put compatibility code here until next subversion bump */
-       {
+       if (main->versionfile < 260){
                {
                        /* set default alpha value of Image outputs in image 
and render layer nodes to 0 */
                        Scene *sce;
@@ -12157,6 +12156,11 @@
                }
        }
 
+       /* put compatibility code here until next subversion bump */
+       {
+               
+       }
+
        /* WATCH IT!!!: pointers from libdata have not been converted yet here! 
*/
        /* WATCH IT 2!: Userdef struct init has to be in 
editors/interface/resources.c! */
 

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to