Commit: 69383f6b5d564cdaa2746b08f1a5161e5a0fdff3
Author: Antonio Vazquez
Date:   Thu Apr 26 16:22:54 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB69383f6b5d564cdaa2746b08f1a5161e5a0fdff3

Use newlibadr_us for layer parent object

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

M       source/blender/blenloader/intern/readfile.c

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

diff --git a/source/blender/blenloader/intern/readfile.c 
b/source/blender/blenloader/intern/readfile.c
index afacc4acc6a..14c708274f2 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6310,7 +6310,7 @@ static void lib_link_gpencil(FileData *fd, Main *main)
                        /* Layers */
                        for (bGPDlayer *gpl = gpd->layers.first; gpl; gpl = 
gpl->next) {
                                /* Layer -> Parent References */
-                               gpl->parent = newlibadr(fd, gpd->id.lib, 
gpl->parent);
+                               gpl->parent = newlibadr_us(fd, gpd->id.lib, 
gpl->parent);
                        }
                        
                        /* Datablock Stuff */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to