28#define RESET_TRANSFORMATION
69 MEM_delete(customdata);
87#ifndef RESET_TRANSFORMATION
89 if (t->transform_matrix) {
92 t->transform_matrix(t, mat_inv);
129 switch (event->
val) {
196 t->
custom.mode.data = customdata;
230#ifdef RESET_TRANSFORMATION
248# ifdef RESET_TRANSFORMATION
Read Blender memory allocation and freeing.
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void mul_m3_v3(const float M[3][3], float r[3])
wmGizmo * WM_gizmomap_get_modal(const wmGizmoMap *gzmap)
bool invert_m3_m3(float inverse[3][3], const float mat[3][3])
void WM_gizmo_modal_set_while_modal(wmGizmoMap *gzmap, bContext *C, wmGizmo *gz, const wmEvent *event)
wmWindow * CTX_wm_window(const bContext *C)
bool invert_m4(float mat[4][4])
MINLINE void sub_v3_v3(float r[3], const float a[3])
void mul_m4_v3(const float M[4][4], float r[3])
VecBase< float, 2 > float2
void * MEM_new_zeroed(size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2)
eWM_GizmoFlagTweak
Gizmo tweak flag. Bit-flag passed to gizmo while tweaking.
@ SCE_SNAP_TO_EDGE_PERPENDICULAR
@ SCE_SNAP_INDIVIDUAL_NEAREST
@ SCE_SNAP_INDIVIDUAL_PROJECT
void unit_m4(float m[4][4])
wmOperatorStatus(*)(bContext *, wmGizmo *, const wmEvent *, eWM_GizmoFlagTweak) wmGizmoFnModal
bke::ARegionRuntime * runtime
wmGizmoFnModal custom_modal
bke::WindowRuntime * runtime