Transform: center override

Hidden option to override transform center.
Needed for manipulators that define their own center.
This commit is contained in:
2017-08-28 16:00:28 +10:00
parent 1261a29fc0
commit a520e7c85c
5 changed files with 42 additions and 16 deletions

View File

@@ -148,7 +148,8 @@ int BIF_countTransformOrientation(const struct bContext *C);
#define P_CORRECT_UV (1 << 8)
#define P_NO_DEFAULTS (1 << 10)
#define P_NO_TEXSPACE (1 << 11)
#define P_GPENCIL_EDIT (1 << 12)
#define P_CENTER (1 << 12)
#define P_GPENCIL_EDIT (1 << 13)
void Transform_Properties(struct wmOperatorType *ot, int flags);