Merge branch 'blender-v5.0-release'
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user