[Bf-blender-cvs] [90a6621b25b] greasepencil-object: Fix error loading old files

Antonio Vazquez noreply at git.blender.org
Wed Jul 5 20:44:12 CEST 2017


Commit: 90a6621b25b99157c5c512f2215f831a37383fb7
Author: Antonio Vazquez
Date:   Wed Jul 5 20:44:00 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB90a6621b25b99157c5c512f2215f831a37383fb7

Fix error loading old files

After a previous commit to relink palettes old files did not work

===================================================================

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 c0ff2c24a58..491b418ffe9 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -428,6 +428,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *main)
 						}
 					}
 				}
+				gpd->id.tag &= ~LIB_TAG_NEED_LINK;
 			}
 		}
 		/* ------- end grease pencil palettes conversion --------------- */




More information about the Bf-blender-cvs mailing list