mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-28 17:19:24 +01:00
Image resources imported from a file remember its path and modification time. resource.status lists each resource as outdated, missing, up to date or without a file; resource.update reads changed files again and resource.relink points a resource at another file, each as one undo step that recomposites every layer using the resource. Undo and redo drop pixels decoded from bytes they replace under the same name. The shelf's Resources Updater button opens a window with the project's resources (outdated first), status and name filters, Update, Select new resource, Show in folder, Refresh and Update All. When the app gets the focus back after files changed, a notice offers to update them. Automation refuses the three commands, since they read host paths the project names.