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:
authorMartin Poirier <theeth@yahoo.com>2009-10-10 21:19:49 +0400
committerMartin Poirier <theeth@yahoo.com>2009-10-10 21:19:49 +0400
commit811a7678276e7f0aefaf4145276a71cdd2915a26 (patch)
tree1a1851000569f59cdcf8204eeea88fd6101874ff /source/blender/makesdna/DNA_windowmanager_types.h
parentf716f22d1f984c7323ee71682a197d91cb0d06b0 (diff)
Add operator and operator type flag for GRAB_POINTER, don't coopt the OPTYPE_BLOCKING flag for that.
It will check if either the operator or operator type flags are set on top of the user preference before grabbing the pointer. I've set that flag for 3d view navigation operators, others should be set too (no transform, I'll deal with that one).
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r--source/blender/makesdna/DNA_windowmanager_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h
index 2b986d6d802..0292f01fd6d 100644
--- a/source/blender/makesdna/DNA_windowmanager_types.h
+++ b/source/blender/makesdna/DNA_windowmanager_types.h
@@ -330,7 +330,7 @@ typedef struct wmOperator {
#define OPERATOR_PASS_THROUGH 8
/* wmOperator flag */
-
+#define OP_GRAB_POINTER 1
/* ************** wmEvent ************************ */
/* for read-only rna access, dont save this */