Log inGet started
Package

reapplyRetired.tool

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

Reapply retired scene edits

A build retires an authored edit when the entity, parent, reference or component it named is no longer in the scene. reviewRecorded lists those edits under retired with the entity's name, the field path and the value the edit held. Reapply moves the field edits of one entity onto another entity that exists in the scene, for example after a rename in build.luau.

local report=tools.use("sceneAuthoring","reviewRecorded",{})
tools.use("sceneAuthoring","reapplyRetired",{review=report.review,from="lamp",to="lantern"})
tools.use("sceneAuthoring","reapplyRetired",{review=report.review,from="lamp",to="lantern",paths={{"transform","position"}}})

Only field edits move: an edit that added or removed a whole entity stays listed. A moved edit leaves the retired list; a field the target already holds at another value is reported as a conflict and nothing changes.