From 5a9f88faee2e277e3573644f4dca74ccfc12cfe2 Mon Sep 17 00:00:00 2001 From: tariqsulley Date: Thu, 9 Oct 2025 23:34:44 +0000 Subject: [PATCH] Fix #100993: Snap Selection to Active fails to snap to active parent The Selection to Active operator failed when the selected object was parented to the active object. Fix by allowing child objects to move to the active object unless "Offset" is enabled. Ref !147204 --- source/blender/editors/space_view3d/view3d_snap.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/space_view3d/view3d_snap.cc b/source/blender/editors/space_view3d/view3d_snap.cc index dcb9f3775f0..5886bd85164 100644 --- a/source/blender/editors/space_view3d/view3d_snap.cc +++ b/source/blender/editors/space_view3d/view3d_snap.cc @@ -570,8 +570,12 @@ static bool snap_selected_to_location_rotation(bContext *C, } for (Object *ob : objects) { - if (ob->parent && BKE_object_flag_test_recursive(ob->parent, OB_DONE)) { - continue; + /* With offset enabled, skip child objects whose parents are also transformed + * to avoid double transform. */ + if (use_offset) { + if (ob->parent && BKE_object_flag_test_recursive(ob->parent, OB_DONE)) { + continue; + } } blender::float3 target_loc_local; /* parent-relative */