Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-10-05 00:27:34 +0300
committerAntonioya <blendergit@gmail.com>2018-10-05 00:27:34 +0300
commit3a1e9b9997e33c059d08138da707ac16490fddf7 (patch)
tree770b8bf9c30d10ee4a0866e7f62b5e4cf23f79bc /source/blender/makesdna/DNA_view3d_types.h
parent65f77ccea1645f8c66fc171377641b08b62010e0 (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h11
1 files changed, 0 insertions, 11 deletions
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