diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-04 08:45:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-04 08:45:55 +0300 |
commit | 6f2797b50b15634f43fd47d5be352c6b21f19ec9 (patch) | |
tree | cdb1884306cfec63cc3b24b4cc8b415b9cf115e0 /source/blender/makesdna/DNA_scene_types.h | |
parent | 568514c875d47def3bd05c89b4c03c7a1ece35bc (diff) |
Curve Draw: option to apply absolute offset
Offset used curve radius, which isn't useful drawing without any bevel radius.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 1ace2b42f15..39508e17be5 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1275,7 +1275,7 @@ typedef struct CurvePaintSettings { int error_threshold; float radius_min, radius_max; float radius_taper_start, radius_taper_end; - float radius_offset; + float surface_offset; float corner_angle; } CurvePaintSettings; @@ -1284,6 +1284,7 @@ enum { CURVE_PAINT_FLAG_CORNERS_DETECT = (1 << 0), CURVE_PAINT_FLAG_PRESSURE_RADIUS = (1 << 1), CURVE_PAINT_FLAG_DEPTH_STROKE_ENDPOINTS = (1 << 2), + CURVE_PAINT_FLAG_DEPTH_STROKE_OFFSET_ABS = (1 << 3), }; /* CurvePaintSettings.depth_mode */ |