Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit15ce14a4c1

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.