docs: 收口R1 Face阶段验收口径
This commit is contained in:
@@ -5999,6 +5999,19 @@ class WindowActionMixin:
|
||||
return self.model.resize_face_size_local_keep_relations(face_id, target_size, axis_key)
|
||||
return self.model.resize_face_size_local(face_id, target_size, axis_key)
|
||||
|
||||
if keep_relations:
|
||||
isolation = self._isolation_for_plan(
|
||||
plan,
|
||||
"resize_face_size_local_keep_relations",
|
||||
[face_id, target_size, axis_key],
|
||||
)
|
||||
else:
|
||||
isolation = self._isolation_for_plan(
|
||||
plan,
|
||||
"resize_face_size_local",
|
||||
[face_id, target_size, axis_key],
|
||||
)
|
||||
|
||||
self._run_edit_action(
|
||||
action,
|
||||
operation_name=f"修改{mode_label}",
|
||||
@@ -6044,11 +6057,7 @@ class WindowActionMixin:
|
||||
},
|
||||
target_kind="face",
|
||||
target_id=face_id,
|
||||
isolation=self._isolation_for_plan(
|
||||
plan,
|
||||
"resize_face_size_local_keep_relations" if keep_relations else "resize_face_size_local",
|
||||
[face_id, target_size, axis_key],
|
||||
),
|
||||
isolation=isolation,
|
||||
)
|
||||
|
||||
def _resize_face_size_owning_scale(self, axis: str) -> None:
|
||||
@@ -6453,6 +6462,19 @@ class WindowActionMixin:
|
||||
return self.model.move_face_center_local_keep_relations(face_id, target_center)
|
||||
return self.model.move_face_center_local(face_id, target_center)
|
||||
|
||||
if keep_relations:
|
||||
isolation = self._isolation_for_plan(
|
||||
plan,
|
||||
"move_face_center_local_keep_relations",
|
||||
[face_id, list(target_center)],
|
||||
)
|
||||
else:
|
||||
isolation = self._isolation_for_plan(
|
||||
plan,
|
||||
"move_face_center_local",
|
||||
[face_id, list(target_center)],
|
||||
)
|
||||
|
||||
self._run_edit_action(
|
||||
action,
|
||||
operation_name=mode_label,
|
||||
@@ -6488,11 +6510,7 @@ class WindowActionMixin:
|
||||
},
|
||||
target_kind="face",
|
||||
target_id=face_id,
|
||||
isolation=self._isolation_for_plan(
|
||||
plan,
|
||||
"move_face_center_local_keep_relations" if keep_relations else "move_face_center_local",
|
||||
[face_id, list(target_center)],
|
||||
),
|
||||
isolation=isolation,
|
||||
)
|
||||
|
||||
def move_selected_axis_center_by_translation(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user