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:
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r--source/blender/editors/include/ED_transform.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h
index 8267ed022e3..d8954be08c9 100644
--- a/source/blender/editors/include/ED_transform.h
+++ b/source/blender/editors/include/ED_transform.h
@@ -135,9 +135,15 @@ void BIF_selectOrientation(void);
/* to be able to add operator properties to other operators */
-void Properties_Proportional(struct wmOperatorType *ot);
-void Properties_Snapping(struct wmOperatorType *ot, short fullsnap, short align);
-void Properties_Constraints(struct wmOperatorType *ot);
+#define P_MIRROR (1 << 0)
+#define P_PROPORTIONAL (1 << 1)
+#define P_AXIS (1 << 2)
+#define P_SNAP (1 << 3)
+#define P_GEO_SNAP (P_SNAP|(1 << 4))
+#define P_ALIGN_SNAP (P_GEO_SNAP|(1 << 5))
+#define P_CONSTRAINT (1 << 6)
+
+void Transform_Properties(struct wmOperatorType *ot, int flags);
/* view3d manipulators */