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.
This commit is contained in:
Sergey Sharybin 2011-11-04 09:29:58 +00:00
parent 2d09bf85af
commit 936178d10f

@ -12121,8 +12121,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
}
/* 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 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
}
}
/* 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! */