Commit: f60ad418938aa2489607d942d5fba69edb1ca158
Author: Dalai Felinto
Date: Wed Nov 23 19:10:42 2016 +0100
Branches: layers
https://developer.blender.org/rBf60ad418938aa2489607d942d5fba69edb1ca158
Layers doversion: use 1, 2, 3, ... for new collections
===================================================================
M source/blender/blenloader/intern/versioning_280.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_280.c
b/source/blender/blenloader/intern/versioning_280.c
index 4bb7416..c1434b1 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -68,7 +68,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib),
Main *main)
collection->flag |= COLLECTION_VISIBLE;
}
- BLI_snprintf(collection->name,
sizeof(collection->name), "%d", i);
+ BLI_snprintf(collection->name,
sizeof(collection->name), "%d", i + 1);
collections[i] = collection;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs