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:
authorTon Roosendaal <ton@blender.org>2006-11-27 00:17:15 +0300
committerTon Roosendaal <ton@blender.org>2006-11-27 00:17:15 +0300
commit0cd62a9298663999fb567c1e8bd6384a5105f425 (patch)
treef277433ac2400bea69afc1d6dc0988f1647804fb /source/blender/blenkernel/BKE_blender.h
parentb36bafe524a8a792fe0ea72f46ead9d193fd1ee2 (diff)
NEW! Subversion control and test for future Blender binaries.
Next to the release code, a subversion number is written in the file now. This is in the chunk GLOB, which is now in beginning of file. Subversions can be used to have finer control over do_versions(), so you don't have to wait for a release to patch stuff nicely. We can also increase these subversions regularly to denote important changes. If a subversion is not 0, it's being printed in the header, so a user can also verify the state. (We might even tag cvs for it?). Next to this, a minimum version and subversion number are written too. From now on, if you change files in a way a past binary cannot read this nicely anymore, you should set these minima to the current version. This was especially added for the new mesh layers, which will not work for older binaries once we make 2.43.
Diffstat (limited to 'source/blender/blenkernel/BKE_blender.h')
-rw-r--r--source/blender/blenkernel/BKE_blender.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_blender.h b/source/blender/blenkernel/BKE_blender.h
index 62336ffd8c7..298ed5ff025 100644
--- a/source/blender/blenkernel/BKE_blender.h
+++ b/source/blender/blenkernel/BKE_blender.h
@@ -43,7 +43,11 @@ extern "C" {
struct ListBase;
struct MemFile;
-#define BLENDER_VERSION 242
+#define BLENDER_VERSION 242
+#define BLENDER_SUBVERSION 1
+
+#define BLENDER_MINVERSION 240
+#define BLENDER_MINSUBVERSION 0
int BKE_read_file(char *dir, void *type_r);
int BKE_read_file_from_memory(char* filebuf, int filelength, void *type_r);