diff options
author | Charlie Jolly <mistajolly@gmail.com> | 2019-09-06 16:07:26 +0300 |
---|---|---|
committer | Charlie Jolly <mistajolly@gmail.com> | 2019-09-06 16:07:26 +0300 |
commit | a94bf0e1349b4ee39e308a565fe26a4bd7cb7543 (patch) | |
tree | a96bfdc616edba9546ce6dc613228b4d4ea4ec07 /source/blender/makesdna/DNA_scene_types.h | |
parent | 4c20c53b8980535fd0d62a5285a1e27bbe6e829d (diff) |
GPencil: Guides: Refactor and add new ISO option
+ Simplify code, move into own function and run once rather than on every point
+ Improved snapping when a stroke is between increments
+ Added ISO grid option for lines specified by Angle under guide settings
+ Radial snapping mode uses Angle as an offset
Differential Revision: https://developer.blender.org/D5668
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 58778bebf4a..aed78fe1a38 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -2326,6 +2326,7 @@ typedef enum eGPencil_GuideTypes { GP_GUIDE_RADIAL, GP_GUIDE_PARALLEL, GP_GUIDE_GRID, + GP_GUIDE_ISO, } eGPencil_GuideTypes; /* ToolSettings.gpencil_guide_references */ |