[Bf-blender-cvs] [b2a3df653e4] greasepencil-object: Remove last_palette_name field

Joshua Leung noreply at git.blender.org
Tue Oct 17 03:57:30 CEST 2017


Commit: b2a3df653e4656f8339f0e7b2d64c65973291f7c
Author: Joshua Leung
Date:   Tue Oct 17 14:56:28 2017 +1300
Branches: greasepencil-object
https://developer.blender.org/rBb2a3df653e4656f8339f0e7b2d64c65973291f7c

Remove last_palette_name field

This isn't used for anything anymore. Removing it (and the padding) doesn't
seem to cause any new glitches, so this should be ok.

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

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 b5547fc2133..6a7074ba145 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -401,8 +401,6 @@ typedef struct bGPdata {
 	/* Runtime Only - Drawing Manager cache */
 	struct GHash *batch_cache_data;
 	
-	char last_palette_name[66]; /* name of the last palette used */  // XXX: remove
-	char pad[6];
 	
 	/* 3D Viewport/Appearance Settings */
 	int pixfactor;              /* factor to define pixel size conversion */



More information about the Bf-blender-cvs mailing list