Merging r48810 through r48812 from trunk into soc-2011-tomato
[blender.git] / source / blender / blenloader / intern / readfile.c
index 366099a98a51025c7f662018f73bd63389a4b606..8779e99b635fcc30329e31d3afbd8e659cca982d 100644 (file)
@@ -7890,7 +7890,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                        ntreetype->foreach_nodetree(main, NULL, do_version_ntree_dilateerode_264);
        }
 
-       {
+       if (main->versionfile < 263 || (main->versionfile == 263 && main->subversionfile < 14)) {
                bNodeTreeType *ntreetype = ntreeGetType(NTREE_COMPOSIT);
 
                if (ntreetype && ntreetype->foreach_nodetree)