Merge branch 'blender-v5.0-release'

This commit is contained in:
Campbell Barton
2025-10-10 10:35:41 +11:00

View File

@@ -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 */