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-03 23:42:45 +0300
committerAntonioya <blendergit@gmail.com>2018-10-03 23:42:45 +0300
commit222ea729818215835dbd3b0c9f962a9a601f0ad1 (patch)
treea06088e95175145147829e2aeac12d9a652d44ba /source/blender/makesdna
parent77def38eab8dd844044ae7ae6d652ad4ea6b9b83 (diff)
GP: Allow canvas grid with different scales in X/Y
Now it's possible create rectangular shapes and disable the subdivisions to get only a rectangle
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index c73def54cc6..7876153cbce 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -188,10 +188,9 @@ typedef struct View3DOverlay {
/* Other settings */
float wireframe_threshold;
- char _pad0[4];
/* grease pencil settings */
- float gpencil_grid_scale;
+ float gpencil_grid_scale[2];
float gpencil_paper_opacity;
int gpencil_grid_lines;
int gpencil_grid_axis;