[Bf-blender-cvs] [a7ff8575bca] asset-greasepencil: GPencil: Add preview var to bGPdata datablock

Antonio Vazquez noreply at git.blender.org
Thu Jul 8 17:11:22 CEST 2021


Commit: a7ff8575bca0b4a22bc19dcbae3afe0ce570a79f
Author: Antonio Vazquez
Date:   Thu Jul 8 16:09:11 2021 +0200
Branches: asset-greasepencil
https://developer.blender.org/rBa7ff8575bca0b4a22bc19dcbae3afe0ce570a79f

GPencil: Add preview var to bGPdata datablock

This preview will be used for assets

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

M	source/blender/makesdna/DNA_gpencil_types.h

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

diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h
index c573de6b54e..aea5b9a50f6 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -719,6 +719,9 @@ typedef struct bGPdata {
 
   bGPgrid grid;
 
+  /** Preview image for assets. */
+  struct PreviewImage *preview;
+
   bGPdata_Runtime runtime;
 } bGPdata;



More information about the Bf-blender-cvs mailing list