[Bf-blender-cvs] [e55dc7667aa] greasepencil-refactor: GPencil: Remove unused variable
Antonio Vazquez
noreply at git.blender.org
Fri Jan 10 19:35:30 CET 2020
Commit: e55dc7667aac7e68f5eb1468a2c03b67542896f4
Author: Antonio Vazquez
Date: Fri Jan 10 19:35:17 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rBe55dc7667aac7e68f5eb1468a2c03b67542896f4
GPencil: Remove unused variable
===================================================================
M source/blender/blenkernel/intern/gpencil_modifier.c
M source/blender/makesdna/DNA_gpencil_types.h
===================================================================
diff --git a/source/blender/blenkernel/intern/gpencil_modifier.c b/source/blender/blenkernel/intern/gpencil_modifier.c
index 6142e72a54c..880251958d7 100644
--- a/source/blender/blenkernel/intern/gpencil_modifier.c
+++ b/source/blender/blenkernel/intern/gpencil_modifier.c
@@ -806,7 +806,6 @@ static void gpencil_frame_copy_noalloc(Object *ob, bGPDframe *gpf, bGPDframe *gp
gpf_eval->flag = gpf->flag;
gpf_eval->key_type = gpf->key_type;
gpf_eval->runtime = gpf->runtime;
- copy_m4_m4(gpf_eval->runtime.parent_obmat, gpf->runtime.parent_obmat);
/* copy strokes */
BLI_listbase_clear(&gpf_eval->strokes);
diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h
index 2e0db70fc90..74bb66d9a62 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -286,8 +286,6 @@ typedef enum eGPDstroke_Caps {
/* Runtime temp data for bGPDframe */
typedef struct bGPDframe_Runtime {
- /** Parent matrix for drawing. */
- float parent_obmat[4][4];
/** Index of this frame in the listbase of frames. */
int frameid;
/** Onion offset from active frame. 0 if not onion. INT_MAX to bypass frame. */
More information about the Bf-blender-cvs
mailing list