Changes between Version 2 and Version 4 of Ticket #18801
- Timestamp:
- 2020-03-16T15:26:44+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18801 – Description
v2 v4 3 3 2) Modifies AbstractModifiableLayer to have a function for autosave (takes a file argument), return false by default (to indicate not saved and not savable). It also adds an abstract method to get the data from the layer. The only addon I found to be affected by this was OpenQA, which can be modified by me. 4 4 3) AutosaveTask now just has a single Set<Data> instead of one each for DataSet/NodeData. 5 4) There is now a global instance of AutosaveTask, once it has been initialized. I should probably change all calls to be to `getInstance`. 5 4) There is now a global instance of AutosaveTask, once it has been initialized. ~I should probably change all calls to be to `getInstance`~. 6 6 5) It iterates through the layers, using the same `if (changedData.remove)` syntax, and then calls the layer's autosave method. 7 7 6) AutosaveTask also has a new method to indicate that data has been updated


