Update transform session to support local axis constraint for brush vertex
This commit is contained in:
@@ -754,9 +754,9 @@ export function supportsLocalTransformAxisConstraint(
|
|||||||
case "entity":
|
case "entity":
|
||||||
return session.target.initialRotation.kind !== "none";
|
return session.target.initialRotation.kind !== "none";
|
||||||
case "brushFace":
|
case "brushFace":
|
||||||
case "brushVertex":
|
|
||||||
return false;
|
return false;
|
||||||
case "brushEdge":
|
case "brushEdge":
|
||||||
|
case "brushVertex":
|
||||||
return session.operation === "translate";
|
return session.operation === "translate";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user