Blender
V3.3
|
#include <float.h>
#include "PIL_time.h"
#include "DNA_windowmanager_types.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "GPU_immediate.h"
#include "GPU_matrix.h"
#include "GPU_state.h"
#include "BKE_context.h"
#include "BKE_editmesh.h"
#include "BKE_layer.h"
#include "BKE_object.h"
#include "BKE_scene.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_gizmo_library.h"
#include "ED_markers.h"
#include "ED_node.h"
#include "ED_transform_snap_object_context.h"
#include "ED_uvedit.h"
#include "ED_view3d.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "SEQ_iterator.h"
#include "SEQ_sequencer.h"
#include "SEQ_time.h"
#include "MEM_guardedalloc.h"
#include "transform.h"
#include "transform_convert.h"
#include "transform_snap.h"
Go to the source code of this file.
Definition at line 123 of file transform_snap.c.
References MOD_SNAP, MOD_SNAP_INVERT, and t.
Referenced by activeSnap_SnappingAsGroup(), activeSnap_SnappingIndividual(), applyAxisConstraintVec(), applyGridAbsolute(), applyRotation(), applySnappingAsGroup(), applyTranslation(), applyTranslationValue(), drawSnapping(), getAnimEdit_SnapMode(), tc_mesh_partial_types_calc(), transform_snap_grid(), transform_snap_increment_ex(), and transform_snap_increment_get().
Definition at line 146 of file transform_snap.c.
References activeSnap(), doForceIncrementSnap(), SCE_SNAP_MODE_FACE_NEAREST, SCE_SNAP_MODE_FACE_RAYCAST, and t.
Referenced by applySnappingAsGroup().
Definition at line 129 of file transform_snap.c.
References activeSnap(), doForceIncrementSnap(), SCE_SNAP_MODE_FACE_NEAREST, t, and T_NO_PROJECT.
Referenced by applySnappingIndividual(), and tc_mesh_partial_types_calc().
Definition at line 985 of file transform_snap.c.
References BLI_addtail(), TransSnapPoint::co, copy_v3_v3(), MEM_callocN, MULTI_POINTS, POINT_INIT, SPACE_VIEW3D, and t.
Referenced by transformEvent().
|
static |
Definition at line 432 of file transform_snap.c.
References add_v3_v3(), BKE_object_eval_transform_all(), copy_v3_v3(), CTX_OBJECT, ED_transform_snap_object_project_view3d(), TransDataContainer::mat, mul_m3_v3(), mul_m4_v3(), NULL, TransData::ob, Object::obmat, SCE_SNAP_MODE_FACE_NEAREST, TransData::smtx, sub_v3_v3v3(), t, and TransDataContainer::use_local_mat.
Referenced by applySnappingIndividual().
|
static |
Definition at line 363 of file transform_snap.c.
References add_v3_v3(), TransData::axismtx, BKE_object_eval_transform_all(), copy_v3_v3(), CTX_OBJECT, ED_transform_snap_object_project_view3d(), ED_view3d_project_float_global(), TransDataContainer::mat, mul_m3_v3(), mul_m4_v3(), NULL, TransData::ob, Object::obmat, rotation_between_vecs_to_mat3(), SCE_SNAP_MODE_FACE_RAYCAST, TransData::smtx, sub_v3_v3v3(), t, transform_data_ext_rotate(), TransDataContainer::use_local_mat, V3D_PROJ_RET_OK, and V3D_PROJ_TEST_NOP.
Referenced by applySnappingIndividual().
Definition at line 517 of file transform_snap.c.
References activeSnap(), add_v3_v3(), BKE_object_eval_transform_all(), copy_v3_v3(), CTX_OBJECT, TransData::factor, FOREACH_TRANS_DATA_CONTAINER, if(), MOD_PRECISION, mul_m3_v3(), mul_m4_v3(), mul_v3_fl(), mul_v3_v3fl(), TransData::ob, Object::obmat, SCE_SNAP_MODE_GRID, SCE_SNAP_MODE_INCREMENT, TransData::smtx, sub_v3_v3v3(), t, T_PROP_EDIT, and TD_SKIP.
Referenced by flushTransNodes().
Definition at line 567 of file transform_snap.c.
References activeSnap(), activeSnap_SnappingAsGroup(), PIL_check_seconds_timer(), SCE_SNAP_MODE_GRID, SCE_SNAP_MODE_INCREMENT, SNAP_FORCED, t, and validSnap().
Referenced by applyEdgeSlide(), applyNormalRotation(), applyResize(), applyRotation(), applySeqSlide(), applySkinResize(), applyTranslation(), and applyVertSlide().
Definition at line 486 of file transform_snap.c.
References activeSnap_SnappingIndividual(), applyFaceNearest(), applyFaceProject(), constraintTransLim(), TransData::factor, FOREACH_TRANS_DATA_CONTAINER, t, T_PROP_EDIT, and TD_SKIP.
Referenced by recalcData_curve(), recalcData_edit_armature(), recalcData_lattice(), recalcData_mball(), recalcData_mesh(), recalcData_objects(), recalcData_particles(), and recalcData_texspace().
Definition at line 635 of file transform_snap.c.
References BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, and e.
Referenced by initSnappingMode().
Definition at line 645 of file transform_snap.c.
References BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_FACE_FIRST_LOOP, BMLoop::next, and BMLoop::v.
Referenced by initSnappingMode().
Definition at line 186 of file transform_snap.c.
References t, and transformModeUseSnap().
Referenced by activeSnap_SnappingAsGroup(), activeSnap_SnappingIndividual(), snap_increment_apply(), and transform_snap_increment_ex().
Definition at line 191 of file transform_snap.c.
References activeSnap(), BLI_listbase_is_empty(), BLI_rctf_size_x(), BLI_rcti_size_x(), C, TransSnapPoint::co, col, copy_m4_m4(), CTX_wm_region(), CTX_wm_region_view3d(), View2D::cur, ED_node_draw_snap(), ED_view3d_cursor_snap_draw_util(), ED_view3d_pixel_size(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_DEPTH_LESS_EQUAL, GPU_DEPTH_NONE, GPU_depth_test(), GPU_FETCH_FLOAT, GPU_matrix_pop_projection(), GPU_matrix_push_projection(), GPU_SHADER_2D_UNIFORM_COLOR, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), imm_draw_circle_wire_2d(), imm_drawcircball(), immBindBuiltinProgram(), immRectf(), immUnbindProgram(), immUniformColor3ub(), immUniformColor4ubv(), immVertexFormat(), LISTBASE_FOREACH, View2D::mask, TransSnapPoint::next, normal, NULL, POINT_INIT, pos, SCE_SNAP_MODE_EDGE_PERPENDICULAR, size(), SPACE_IMAGE, SPACE_NODE, SPACE_SEQ, SPACE_VIEW3D, t, TARGET_INIT, TH_ACTIVE, TH_SELECT, TH_SEQ_ACTIVE, TH_TRANSFORM, TH_VERTEX_SIZE, UI_GetThemeColor3ubv(), UI_GetThemeValuef(), UI_view2d_view_to_region_fl(), UNPACK2, usingSnappingNormal(), ARegion::v2d, validSnap(), validSnappingNormal(), RegionView3D::viewinv, wmOrtho2_region_pixelspace(), x, y, rctf::ymax, and rctf::ymin.
Referenced by drawTransformView(), and ED_draw_sequencer_snap_point().
Definition at line 928 of file transform_snap.c.
References ED_transform_snap_object_context_destroy(), NULL, SPACE_SEQ, t, and transform_snap_sequencer_data_free().
Referenced by postTrans().
Definition at line 1056 of file transform_snap.c.
References add_v3_v3(), TransSnapPoint::co, copy_v3_v3(), mul_v3_fl(), TransSnapPoint::next, POINT_INIT, and t.
Referenced by ApplySnapResize(), ApplySnapRotation(), ApplySnapTranslation(), edge_slide_snap_apply(), and vert_slide_snap_apply().
eRedrawFlag handleSnapping | ( | TransInfo * | t, |
const wmEvent * | event | ||
) |
Definition at line 343 of file transform_snap.c.
References EVT_TABKEY, initSnapping(), KM_SHIFT, wmEvent::modifier, MOUSEMOVE, NULL, SCE_SNAP, t, TREDRAW_HARD, TREDRAW_NOTHING, wmEvent::type, and updateSelectedSnapPoint().
Referenced by transformEvent().
void initSnapping | ( | TransInfo * | t, |
wmOperator * | op | ||
) |
Definition at line 820 of file transform_snap.c.
References initSnappingMode(), max_ii(), MOD_SNAP, normalize_v3(), POINT_INIT, wmOperator::ptr, resetSnapping(), RNA_float_get_array(), RNA_property_boolean_get(), RNA_property_enum_get(), RNA_property_float_get_array(), RNA_property_is_set(), RNA_struct_find_property(), SCE_SNAP, SCE_SNAP_NOT_TO_ACTIVE, SCE_SNAP_PROJECT, SCE_SNAP_ROTATE, SCE_SNAP_TARGET_NOT_ACTIVE, SCE_SNAP_TARGET_NOT_EDITED, SCE_SNAP_TARGET_NOT_NONEDITED, SCE_SNAP_TARGET_ONLY_SELECTABLE, SCE_SNAP_TO_INCLUDE_EDITED, SCE_SNAP_TO_INCLUDE_NONEDITED, SCE_SNAP_TO_ONLY_SELECTABLE, SET_FLAG_FROM_TEST, ToolSettings::snap_face_nearest_steps, ToolSettings::snap_flag, snap_flag_from_spacetype(), SNAP_FORCED, snap_mode_from_spacetype(), ToolSettings::snap_target, snap_target_select_from_spacetype(), t, T_MODAL, and transformModeUseSnap().
Referenced by handleSnapping(), initTransform(), and transformEvent().
Definition at line 774 of file transform_snap.c.
References bm_edge_is_snap_target(), BM_elem_cb_check_hflag_disabled(), BM_ELEM_HIDDEN, BM_ELEM_SELECT, bm_face_is_snap_target(), bool, CTX_CAMERA, ED_transform_snap_object_context_create(), ED_transform_snap_object_context_set_editmesh_callbacks(), ELEM, NULL, POINTER_FROM_UINT, SCE_SNAP_MODE_FACE_RAYCAST, setSnappingCallback(), snap_use_backface_culling(), SPACE_IMAGE, SPACE_NODE, SPACE_SEQ, SPACE_VIEW3D, t, TransConvertType_Mesh, and transform_snap_sequencer_data_alloc().
Referenced by initSnapping().
bool peelObjectsTransform | ( | TransInfo * | t, |
const float | mval[2], | ||
const bool | use_peel_object, | ||
float | r_loc[3], | ||
float | r_no[3], | ||
float * | r_thickness | ||
) |
Definition at line 1452 of file transform_snap.c.
References BLI_freelistN(), BLI_listbase_is_empty(), SnapObjectHitDepth::co, SnapObjectHitDepth::depth, ED_transform_snap_object_project_all_view3d_ex(), ListBase::first, mid_v3_v3v3(), SnapObjectHitDepth::next, NULL, SnapObjectHitDepth::ob_uuid, and t.
Referenced by snap_calc_view3d_fn().
Definition at line 1039 of file transform_snap.c.
References BLI_freelinkN(), BLI_listbase_is_empty(), MULTI_POINTS, NULL, t, and updateSelectedSnapPoint().
Referenced by transformEvent().
Definition at line 601 of file transform_snap.c.
References SCE_SNAP_MODE_NONE, SCE_SNAP_SOURCE_CLOSEST, SCE_SNAP_TARGET_ALL, SNAP_RESETTED, and t.
Referenced by initSnapping().
Definition at line 940 of file transform_snap.c.
References ATTR_FALLTHROUGH, BKE_object_is_in_editmode(), ELEM, SpaceImage::mode, NULL, SCE_SNAP_SOURCE_ACTIVE, SCE_SNAP_SOURCE_CENTER, SCE_SNAP_SOURCE_CLOSEST, SCE_SNAP_SOURCE_MEDIAN, SI_MODE_UV, snap_calc_node_fn(), snap_calc_sequencer_fn(), snap_calc_uv_fn(), snap_calc_view3d_fn(), SPACE_IMAGE, SPACE_NODE, SPACE_SEQ, SPACE_VIEW3D, t, TargetSnapActive(), TargetSnapCenter(), TargetSnapClosest(), TargetSnapMedian(), TFM_RESIZE, and TFM_ROTATION.
Referenced by initSnappingMode().
Definition at line 1155 of file transform_snap.c.
References BLI_assert, copy_v2_v2(), POINT_INIT, SCE_SNAP_MODE_NODE_X, SCE_SNAP_MODE_NODE_Y, SNAP_MIN_DISTANCE, snapNodesTransform(), SPACE_NODE, and t.
Referenced by setSnappingCallback().
Definition at line 1175 of file transform_snap.c.
References BLI_assert, POINT_INIT, SPACE_SEQ, t, TARGET_INIT, and transform_snap_sequencer_calc().
Referenced by setSnappingCallback().
Definition at line 1126 of file transform_snap.c.
References BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs, BLI_assert, ED_uvedit_nearest_uv_multi(), MEM_freeN, NULL, POINT_INIT, SCE_SNAP_MODE_VERTEX, SCE_SNAP_TARGET_NOT_SELECTED, SNAP_MIN_DISTANCE, SPACE_IMAGE, square_f(), and t.
Referenced by setSnappingCallback().
Definition at line 1086 of file transform_snap.c.
References BLI_assert, copy_v3_v3(), NULL, peelObjectsTransform(), POINT_INIT, SCE_SNAP_MODE_GEOM, SCE_SNAP_MODE_NONE, SCE_SNAP_MODE_VOLUME, SCE_SNAP_PEEL_OBJECT, SNAP_MIN_DISTANCE, snapObjectsTransform(), SPACE_VIEW3D, t, and zero_v3().
Referenced by setSnappingCallback().
Definition at line 662 of file transform_snap.c.
References ToolSettings::snap_flag, ToolSettings::snap_flag_node, ToolSettings::snap_flag_seq, ToolSettings::snap_uv_flag, SPACE_IMAGE, SPACE_NODE, SPACE_SEQ, and t.
Referenced by initSnapping().
|
static |
Definition at line 1659 of file transform_snap.c.
References BLI_assert, CON_APPLY, copy_v3_v3(), NULL, SCE_SNAP_MODE_NONE, snap_target_grid_ensure(), and t.
Referenced by transform_snap_grid().
|
static |
Definition at line 1728 of file transform_snap.c.
References BLI_assert, doForceIncrementSnap(), ELEM, SpaceGraph::flag, SCE_SNAP_MODE_INCREMENT, scene, SIPO_DRAWTIME, snap_increment_apply_ex(), SPACE_GRAPH, t, TFM_TRANSLATION, UI_view2d_grid_resolution_x__frames_or_seconds(), and UI_view2d_grid_resolution_y__values().
Referenced by transform_snap_increment_ex().
|
static |
Definition at line 1714 of file transform_snap.c.
Referenced by snap_increment_apply().
Definition at line 677 of file transform_snap.c.
References CTX_CAMERA, CTX_EDGE_DATA, CTX_PAINT_CURVE, ELEM, SCE_SNAP_ABS_GRID, SCE_SNAP_MODE_GRID, SCE_SNAP_MODE_INCREMENT, SEQ_tool_settings_snap_mode_get(), ToolSettings::snap_flag, ToolSettings::snap_mode, ToolSettings::snap_node_mode, ToolSettings::snap_uv_flag, ToolSettings::snap_uv_mode, SPACE_ACTION, SPACE_IMAGE, SPACE_NLA, SPACE_NODE, SPACE_SEQ, SPACE_VIEW3D, t, and TFM_TRANSLATION.
Referenced by initSnapping().
Definition at line 1228 of file transform_snap.c.
References copy_v3_v3(), data, snap_target_median_impl(), t, TARGET_GRID_INIT, TRANS_DATA_CONTAINER_FIRST_SINGLE, TransConvertType_Cursor3D, and V3D_AROUND_CURSOR.
Referenced by snap_grid_apply().
Definition at line 1192 of file transform_snap.c.
References add_v3_v3(), FOREACH_TRANS_DATA_CONTAINER, mul_m4_v3(), mul_v3_fl(), t, TD_SELECTED, v, and zero_v3().
Referenced by snap_target_grid_ensure(), and TargetSnapMedian().
|
static |
Definition at line 722 of file transform_snap.c.
References ViewLayer::basact, BLI_assert, CTX_CAMERA, CTX_CURSOR, CTX_GPENCIL_STROKES, CTX_OBMODE_XFORM_OBDATA, ELEM, Object::mode, OB_ARMATURE, OB_CURVES_LEGACY, OB_LATTICE, OB_MBALL, OB_MESH, OB_MODE_PARTICLE_EDIT, OB_SURF, Base::object, ret, SCE_SNAP_TARGET_ALL, SCE_SNAP_TARGET_NOT_ACTIVE, SCE_SNAP_TARGET_NOT_EDITED, SCE_SNAP_TARGET_NOT_SELECTED, SPACE_IMAGE, SPACE_NODE, SPACE_SEQ, SPACE_VIEW3D, t, and T_PROP_EDIT.
Referenced by initSnapping().
Definition at line 99 of file transform_snap.c.
References BKE_scene_uses_blender_workbench(), BLI_assert, View3DShading::flag, OB_RENDER, OB_SOLID, SCE_SNAP_BACKFACE_CULLING, View3D::shading, SPACE_VIEW3D, t, View3DShading::type, and V3D_SHADING_BACKFACE_CULLING.
Referenced by initSnappingMode().
|
static |
Definition at line 1556 of file transform_snap.c.
References blender::math::abs(), border, node, NODE_BOTTOM, NODE_LEFT, NODE_RIGHT, NODE_TOP, ToolSettings::snap_node_mode, snapNodeBorder(), UI_view2d_region_to_view(), UI_view2d_view_to_region_rcti(), ARegion::v2d, rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by snapNodes().
|
static |
Definition at line 1544 of file transform_snap.c.
References NODE_BOTTOM, NODE_LEFT, NODE_RIGHT, NODE_TOP, SCE_SNAP_MODE_NODE_X, and SCE_SNAP_MODE_NODE_Y.
Referenced by snapNode().
|
static |
Definition at line 1616 of file transform_snap.c.
References SpaceNode::edittree, ListBase::first, node, bNodeTree::nodes, ntree, snapNode(), snapNodeTest(), and ARegion::v2d.
Referenced by snapNodesTransform().
bool snapNodesTransform | ( | TransInfo * | t, |
const int | mval[2], | ||
float | r_loc[2], | ||
float * | r_dist_px, | ||
char * | r_node_border | ||
) |
Definition at line 1640 of file transform_snap.c.
References snapNodes(), and t.
Referenced by snap_calc_node_fn().
|
static |
Definition at line 1535 of file transform_snap.c.
References View2D::cur, node, NODE_ACTIVE, NODE_SELECT, SCE_SNAP_TARGET_ALL, SCE_SNAP_TARGET_NOT_SELECTED, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by snapNodes().
eSnapMode snapObjectsTransform | ( | TransInfo * | t, |
const float | mval[2], | ||
float * | dist_px, | ||
float | r_loc[3], | ||
float | r_no[3] | ||
) |
Definition at line 1422 of file transform_snap.c.
References ED_transform_snap_object_project_view3d(), NULL, SCE_SNAP_MODE_FACE_RAYCAST, SNAP_GEOM_EDIT, SNAP_GEOM_FINAL, t, T_EDIT, and TARGET_INIT.
Referenced by snap_calc_view3d_fn().
Definition at line 1299 of file transform_snap.c.
References calculateCenterActive(), NULL, SCE_SNAP_SOURCE_MEDIAN, t, TARGET_INIT, TargetSnapMedian(), and TargetSnapOffset().
Referenced by setSnappingCallback().
Definition at line 1288 of file transform_snap.c.
References copy_v3_v3(), NULL, t, TARGET_INIT, and TargetSnapOffset().
Referenced by setSnappingCallback().
Definition at line 1326 of file transform_snap.c.
References BKE_object_boundbox_get(), closest(), copy_v3_v3(), CTX_OBJECT, CTX_OBMODE_XFORM_OBDATA, TransData::ext, fabsf, FOREACH_TRANS_DATA_CONTAINER, mul_m4_v3(), NULL, TransData::ob, TransDataExtension::obmat, POINT_INIT, t, TARGET_INIT, TargetSnapOffset(), TD_SELECTED, TRANSFORM_DIST_INVALID, and BoundBox::vec.
Referenced by setSnappingCallback().
Definition at line 1317 of file transform_snap.c.
References snap_target_median_impl(), t, and TARGET_INIT.
Referenced by setSnappingCallback(), and TargetSnapActive().
Definition at line 1250 of file transform_snap.c.
References BLI_rctf_size_x(), BLI_rctf_size_y(), border, height, node, NODE_BOTTOM, NODE_LEFT, NODE_RIGHT, NODE_TOP, NULL, SPACE_NODE, t, and width.
Referenced by TargetSnapActive(), TargetSnapCenter(), and TargetSnapClosest().
float transform_snap_distance_len_squared_fn | ( | TransInfo * | UNUSEDt, |
const float | p1[3], | ||
const float | p2[3] | ||
) |
Definition at line 1813 of file transform_snap.c.
References len_squared_v3v3().
Referenced by initEdgeSlide_ex(), and initVertSlide_ex().
Definition at line 1682 of file transform_snap.c.
References activeSnap(), ELEM, if(), MOD_PRECISION, SCE_SNAP_MODE_GRID, snap_grid_apply(), SPACE_IMAGE, SPACE_VIEW3D, t, TFM_TRANSLATION, and validSnap().
Referenced by applyTranslation().
Definition at line 1792 of file transform_snap.c.
References t, and transform_snap_increment_ex().
Referenced by applyBakeTime(), applyBevelWeight(), applyBoneEnvelope(), applyBoneRoll(), applyBoneSize(), applyCrease(), applyCurveShrinkFatten(), applyEdgeSlide(), applyGPOpacity(), applyGPShrinkFatten(), applyMaskShrinkFatten(), applyNormalRotation(), applyPushPull(), applyResize(), applyRotation(), applyShear(), applyShrinkFatten(), applySkinResize(), applyTilt(), applyToSphere(), applyTrackball(), applyVertSlide(), Bend(), and ElementResize().
Definition at line 1761 of file transform_snap.c.
References activeSnap(), BLI_assert, doForceIncrementSnap(), MOD_PRECISION, mul_m3_v3(), SCE_SNAP_MODE_INCREMENT, snap_increment_apply(), SPACE_VIEW3D, t, and validSnap().
Referenced by applyTranslation(), and transform_snap_increment().
Definition at line 1797 of file transform_snap.c.
References activeSnap(), MOD_PRECISION, SCE_SNAP_MODE_GRID, SCE_SNAP_MODE_INCREMENT, t, and transformModeUseSnap().
Referenced by gizmo_modal().
Definition at line 167 of file transform_snap.c.
References ELEM, SCE_SNAP_TRANSFORM_MODE_ROTATE, SCE_SNAP_TRANSFORM_MODE_SCALE, SCE_SNAP_TRANSFORM_MODE_TRANSLATE, ToolSettings::snap_transform_mode_flag, t, TFM_EDGE_SLIDE, TFM_RESIZE, TFM_ROTATION, TFM_SEQ_SLIDE, TFM_TRANSLATION, and TFM_VERT_SLIDE.
Referenced by doForceIncrementSnap(), initSnapping(), saveTransform(), and transform_snap_increment_get().
eRedrawFlag updateSelectedSnapPoint | ( | TransInfo * | t | ) |
Definition at line 1001 of file transform_snap.c.
References TransSnapPoint::co, ED_view3d_project_float_global(), len_squared_v2v2(), MULTI_POINTS, TransSnapPoint::next, NULL, t, TRANSFORM_SNAP_MAX_PX, TREDRAW_HARD, TREDRAW_NOTHING, V3D_PROJ_RET_OK, and V3D_PROJ_TEST_NOP.
Referenced by handleSnapping(), and removeSnapPoint().
Definition at line 619 of file transform_snap.c.
References t.
Referenced by applyTranslationValue(), createTransEditVerts(), drawSnapping(), and tc_mesh_partial_types_calc().
Definition at line 117 of file transform_snap.c.
References MULTI_POINTS, POINT_INIT, t, and TARGET_INIT.
Referenced by applyAxisConstraintVec(), applyEdgeSlide(), applyRotation(), applySnappingAsGroup(), applyTranslation(), applyVertSlide(), drawSnapping(), ED_transform_snap_sequencer_to_closest_strip_calc(), transform_modal_item_poll(), transform_snap_grid(), transform_snap_increment_ex(), and validSnappingNormal().
Definition at line 624 of file transform_snap.c.
References is_zero_v3(), t, and validSnap().
Referenced by applyTranslationValue(), drawSnapping(), and tc_mesh_partial_types_calc().