Commit Graph

23 Commits (6cb5ac6e63fb9bf6b27e827a227161f6dbc82f0a)

Author SHA1 Message Date
Doc West 01b8ce5f70 Notify views of changes in all columns when updating the ColumnId_Modification column 6 years ago
Doc West 4a6457c346 Changed the way the revert command works: it now clones the changed record and uses the new RecordBase::revert() method to restore the previous value
Added Flag_Dialogue_Refresh to var type and var value columns so that sub views update properly
6 years ago
Atahualpa c0fc615cd6 Adds the option to ignore "Base" records when running the verifier. (fixes #4466)
Improves previous commit:
1. Initialise mIgnoreBase boolean member with FALSE.
2. Remove isBaseOnly() function and replace with direct use of Record member.
6 years ago
Atahualpa 9d61d76e92 Adds the option to ignore "Base" records when running the verifier. (fixes #4466)
Adds a boolean setting to the user preferences. This setting is locally saved to all OpenMW-CS check stages. When a verification is done, the setting is updated on setup for each check stage. If set to true, the boolean value is then used to skip the verification process for every base record - minus some special cases where, e.g., counters are to be set first.

Related issue:
- Fixes #4466: Editor: Add option to ignore base records when running verifier (https://gitlab.com/OpenMW/openmw/issues/4466)

Tests:
The changes were successfully tested in OpenMW-CS by creating faulty "Base" and "Modified" records for every record type (if possible) and, then, running the verifier with and without the option respectively.
6 years ago
Marc Zinnschlag 8e37e9a14a removed redundant functions 9 years ago
cc9cii dc9af19dcf Don't use C++11 features. 9 years ago
cc9cii 28259f914c Remove potential memory leak. 9 years ago
cc9cii 43ec933b7b Revert to the original clone() method. Create a new copy method for modified records. 9 years ago
cc9cii 8b3adec3ec Added a missing copy constructor. 9 years ago
cc9cii f90cdec53b Remove default parameters from the implementation. 9 years ago
cc9cii 6087a18c94 Implement clone() using a new Record constructor. 9 years ago
cc9cii 128371c902 Copy base data to modified. 9 years ago
Marc Zinnschlag 318ebe0cb6 added model column 11 years ago
Marc Zinnschlag 13e7abd7df added assign function to Record class 11 years ago
Marc Zinnschlag 1b84aeb5b9 fixed a problem with editing records that do not exist in base 11 years ago
Marc Zinnschlag f2969e7143 fixed access to records flagged as deleted 11 years ago
Marc Zinnschlag 947ab6635b removed automatic detection of setting modified to the same value of base with subsequent setting modifiction state to base only (can cause problems with implicitly added records) 11 years ago
Marc Zinnschlag c12ee129f7 added delete command 12 years ago
Marc Zinnschlag b41cc5e9e9 added revert command 12 years ago
Marc Zinnschlag 49d6239004 added pop-up menu with create record action 12 years ago
Marc Zinnschlag db29e411c4 added merge functions; temporarily merge on document creation 12 years ago
Marc Zinnschlag 8a09e03d5c global variable editing (no undo support yet) 12 years ago
Marc Zinnschlag ef9575498f basic (non-editable) subview for global variables 12 years ago