Commit: 5a2e6d1a2feffc572774bb0f637c2222e7dbb948
Author: Antonioya
Date: Fri Mar 8 10:04:01 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB5a2e6d1a2feffc572774bb0f637c2222e7dbb948
GPencil: Fix error after merge
Missing field rename.
===================================================================
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 e9b779c2a78..8a3e948e4d2 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -1091,7 +1091,7 @@ void blo_do_versions_280(FileData *fd, Library
*UNUSED(lib), Main *bmain)
/* Init grease pencil pixel size factor */
if (!DNA_struct_elem_find(fd->filesdna, "bGPdata",
"float", "pixfactor")) {
- for (bGPdata *gpd = bmain->gpencil.first; gpd;
gpd = gpd->id.next) {
+ for (bGPdata *gpd = bmain->gpencils.first; gpd;
gpd = gpd->id.next) {
gpd->pixfactor = GP_DEFAULT_PIX_FACTOR;
}
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs