28#define RESET_TRANSFORMATION
87#ifndef RESET_TRANSFORMATION
89 if (t->transform_matrix) {
92 t->transform_matrix(t, mat_inv);
127 switch (event->
val) {
228#ifdef RESET_TRANSFORMATION
246# ifdef RESET_TRANSFORMATION
wmWindow * CTX_wm_window(const bContext *C)
void mul_m3_v3(const float M[3][3], float r[3])
bool invert_m3_m3(float inverse[3][3], const float mat[3][3])
void mul_m4_v3(const float M[4][4], float r[3])
bool invert_m4(float mat[4][4])
void unit_m4(float m[4][4])
MINLINE void sub_v3_v3(float r[3], const float a[3])
@ SCE_SNAP_INDIVIDUAL_NEAREST
@ SCE_SNAP_INDIVIDUAL_PROJECT
@ SCE_SNAP_TO_EDGE_PERPENDICULAR
Read Guarded memory(de)allocation.
eWM_GizmoFlagTweak
Gizmo tweak flag. Bit-flag passed to gizmo while tweaking.
void * MEM_callocN(size_t len, const char *str)
void MEM_freeN(void *vmemh)
VecBase< float, 2 > float2
ARegionRuntimeHandle * runtime
wmGizmoFnModal custom_modal
struct wmEvent * eventstate
void WM_gizmo_modal_set_while_modal(wmGizmoMap *gzmap, bContext *C, wmGizmo *gz, const wmEvent *event)
wmOperatorStatus(*)(bContext *, wmGizmo *, const wmEvent *, eWM_GizmoFlagTweak) wmGizmoFnModal
wmGizmo * WM_gizmomap_get_modal(const wmGizmoMap *gzmap)