forked from bartvdbraak/blender
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:
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! */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user