[Bf-blender-cvs] [560950776ef] greasepencil-object: TODO: Note some struct members that should be moved to runtime data struct
Joshua Leung
noreply at git.blender.org
Thu Jun 28 09:13:59 CEST 2018
Commit: 560950776ef65c795abbcb293632bb09348c6380
Author: Joshua Leung
Date: Thu Jun 28 13:14:35 2018 +1200
Branches: greasepencil-object
https://developer.blender.org/rB560950776ef65c795abbcb293632bb09348c6380
TODO: Note some struct members that should be moved to runtime data struct
===================================================================
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 55e16783ed3..32798e56f49 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -319,6 +319,8 @@ typedef struct bGPdata {
short sbuffer_size; /* number of elements currently in cache */
short sbuffer_sflag; /* flags for stroke that cache represents */
void *sbuffer; /* stroke buffer (can hold GP_STROKE_BUFFER_MAX) */
+ /* Runtime Only - GP Object drawing */
+ /* GPXX: Move these to bGPdata_runtime... */
float scolor[4]; /* buffer color using palettes */
float sfill[4]; /* buffer fill color */
short mode; /* settings for palette color */
More information about the Bf-blender-cvs
mailing list