diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-01 18:05:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-01 18:05:31 +0300 |
commit | 30aff3b830ac222bae90bea02fef0d41fd9d197c (patch) | |
tree | 0b798790b22d728dd8f1c06d55b6f21e47d2afb5 /source/blender/makesdna/DNA_gpencil_types.h | |
parent | c58f2dfc9d27a5635360a96116fb3a887c35b890 (diff) |
- grease pencil mode for drawing onto geometry (using the z-buffer), access in the 3D view panel.
- account for parts of the line going off into infinity by making the stroke stretch between the last valid depth values (like an elastic band), if the endpoints are not over any geometry then use the closest valid depth.
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h index 4bae9935ea7..9ba3c243d20 100644 --- a/source/blender/makesdna/DNA_gpencil_types.h +++ b/source/blender/makesdna/DNA_gpencil_types.h @@ -146,5 +146,7 @@ typedef struct bGPdata { #define GP_DATA_EDITPAINT (1<<3) /* new strokes are added in viewport space */ #define GP_DATA_VIEWALIGN (1<<4) + /* Project into the screens Z values */ +#define GP_DATA_VIEWDEPTH (1<<5) #endif /* DNA_GPENCIL_TYPES_H */ |