Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-07-06 18:12:35 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-07-06 18:16:34 +0300
commitd501d0f91ecc9cc1fa832d8145683cd2a30b8640 (patch)
treec79f97c58d2c46dec2f9632379f8d3fa54a389b3 /source/blender/blenloader/intern/readfile.c
parent1640796cccfee619feccd8a8cc556215996e962a (diff)
Revert rB961ebfa8c40b9909 - do not set Main's versions directly in do_versions().
This breaks any post-versionning (like IPO conversion, python handler, etc.). rB961ebfa8c40b9909 mentions some Main being do_versionned several times (which is not desired for sure), will try to reproduce again and find another fix.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 0dd099df79b..68cc060b010 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -113,7 +113,6 @@
#include "BKE_action.h"
#include "BKE_armature.h"
-#include "BKE_blender_version.h"
#include "BKE_brush.h"
#include "BKE_cloth.h"
#include "BKE_constraint.h"
@@ -8287,9 +8286,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
blo_do_versions_260(fd, lib, main);
blo_do_versions_270(fd, lib, main);
- main->versionfile = BLENDER_VERSION;
- main->subversionfile = BLENDER_SUBVERSION;
-
/* WATCH IT!!!: pointers from libdata have not been converted yet here! */
/* WATCH IT 2!: Userdef struct init see do_versions_userdef() above! */