[Bf-blender-cvs] [fca7638fd56] greasepencil-object: GPencil: More cleanup of old code

Antonio Vazquez noreply at git.blender.org
Thu Feb 13 13:20:13 CET 2020


Commit: fca7638fd566238171beaf4057a2546429289e2a
Author: Antonio Vazquez
Date:   Thu Feb 13 13:01:03 2020 +0100
Branches: greasepencil-object
https://developer.blender.org/rBfca7638fd566238171beaf4057a2546429289e2a

GPencil: More cleanup of old code

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

M	source/blender/editors/include/ED_gpencil.h

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

diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h
index 77bfd07f80b..649058b2b40 100644
--- a/source/blender/editors/include/ED_gpencil.h
+++ b/source/blender/editors/include/ED_gpencil.h
@@ -75,14 +75,6 @@ typedef struct tGPspoint {
   bool rnd_dirty; /* rnd flag */
 } tGPspoint;
 
-/* used to sort by zdepth gpencil objects in viewport */
-/* TODO: this could be a system parameter in userprefs screen */
-#define GP_CACHE_BLOCK_SIZE 16
-typedef struct tGPencilSort {
-  struct Base *base;
-  float zdepth;
-} tGPencilSort;
-
 /* ----------- Grease Pencil Tools/Context ------------- */
 
 /* Context-dependent */



More information about the Bf-blender-cvs mailing list