mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
Layer > Smart Objects > Reset Transform (#11662): the placement goes back to 100 % of the current contents' own box, with rotation, skew, Distort and Perspective cleared and the object left centred where it sits, in one history step. Photoshop resets the transform and not the warp, so the smart object's Warp (kept in source space) and its smart filter stack stay as they are. The map is applied through the Free Transform path, so a linked layer or vector mask and the Smart Filter mask follow the placement back and the object re-renders losslessly from its source. transform_by_map is the projective sibling of transform_by: the step from a Distorted placement to an axis-aligned one is not affine. The exact reset map is pinned onto the placement afterwards, because new * old^-1 * old only lands on it to float noise and would otherwise keep a nearly affine perspective in the document.