Cleanup: Fix comment
authorAntonio Vazquez <blendergit@gmail.com>
Thu, 6 Feb 2020 10:37:23 +0000 (11:37 +0100)
committerAntonio Vazquez <blendergit@gmail.com>
Thu, 6 Feb 2020 10:37:23 +0000 (11:37 +0100)
source/blender/blenloader/intern/readfile.c

index 4e571b20b15d4825661ade0c073d05c2c94c820c..c39ecd90e018fbb31590bf80f72d61c8666b8867 100644 (file)
@@ -7227,7 +7227,7 @@ static void direct_link_gpencil(FileData *fd, bGPdata *gpd)
   gpd->adt = newdataadr(fd, gpd->adt);
   direct_link_animdata(fd, gpd->adt);
 
-  /* If linking from a library ensure full objectmode. */
+  /* Ensure full objectmode for linked grease pencil. */
   if (gpd->id.lib != NULL) {
     gpd->flag &= ~GP_DATA_STROKE_PAINTMODE;
     gpd->flag &= ~GP_DATA_STROKE_EDITMODE;