diff options
author | Joshua Leung <aligorith@gmail.com> | 2015-12-13 17:06:06 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2015-12-13 17:06:51 +0300 |
commit | a791153ca5e6f87d50396e188a3664b579884161 (patch) | |
tree | 345a5aa3d51eca6a28567fdc4515d44f34b9810e /source/blender/makesdna/DNA_view3d_types.h | |
parent | 003523e700252950705944fd707a617139e5faac (diff) |
3D Cursor: Add option to lock it in place to prevent accidental modification
This option helps users protect themselves from accidentally changing the cursor
location (and not being aware of this until it has already caused problems)
when drawing using Grease Pencil (or with other tools where this is equally likely).
It seems to occur most frequently when using a tablet.
Currently, this only affects the use of the mouse to set the cursor, as this is
where most accidental invocations occur.
(I'm aware that this change may turn out to be quite contentious. Fortunately, it
should be simple to just revert this commit in that case :)
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 0ef8f2616c4..176edd5a584 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -250,6 +250,7 @@ typedef struct View3D { #define V3D_DISPBGPICS 2 #define V3D_HIDE_HELPLINES 4 #define V3D_INVALID_BACKBUF 8 +#define V3D_LOCK_CURSOR 16 #define V3D_ALIGN 1024 #define V3D_SELECT_OUTLINE 2048 |