From 3a1e9b9997e33c059d08138da707ac16490fddf7 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Thu, 4 Oct 2018 23:27:34 +0200 Subject: GP: Move grid parameters to GP object data level The grid now can be configured by object because this helps to identify objects and allows to define diferent grid parameters for each objects. Also added a color option. --- source/blender/makesdna/DNA_view3d_types.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender/makesdna/DNA_view3d_types.h') diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 7876153cbce..1b8846df4bc 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -190,10 +190,7 @@ typedef struct View3DOverlay { float wireframe_threshold; /* grease pencil settings */ - float gpencil_grid_scale[2]; float gpencil_paper_opacity; - int gpencil_grid_lines; - int gpencil_grid_axis; float gpencil_grid_opacity; char _pad1[4]; @@ -518,12 +515,4 @@ enum { #define RV3D_CAMZOOM_MIN_FACTOR 0.1657359312880714853f #define RV3D_CAMZOOM_MAX_FACTOR 44.9852813742385702928f -/* View3d.gpencil_grid_axis */ -enum { - V3D_GP_GRID_AXIS_LOCK = (1 << 0), - V3D_GP_GRID_AXIS_X = (1 << 1), - V3D_GP_GRID_AXIS_Y = (1 << 2), - V3D_GP_GRID_AXIS_Z = (1 << 3), -}; - #endif -- cgit v1.2.3