Marc Zinnschlag
d597bef2cd
refined selection related user settings
2015-09-25 10:58:20 +02:00
Marc Zinnschlag
62047b1868
Merge remote-tracking branch 'origin/master' into sceneinput
2015-09-24 16:07:39 +02:00
Marc Zinnschlag
3ada08af90
store lock state and pass it on to edit mode
2015-09-24 16:07:17 +02:00
Marc Zinnschlag
b2cb5f0374
pass on user settings updates to potentially interested parties within a scene subview
2015-09-24 15:51:16 +02:00
scrawl
12b8fcf0bf
OpenCS: Fix camera position retrieval in WorldspaceWidget
2015-09-23 23:37:09 +02:00
Marc Zinnschlag
7bef97bf33
fixed local variable caching issue in automatic error checking ( Fixes #2927 )
2015-09-22 15:36:00 +02:00
Marc Zinnschlag
39b7340580
added mouse button settings for 3D scene (not in use yet)
2015-09-21 15:32:18 +02:00
scrawl
18d0cae801
OpenCS: Select objects with the right mouse button
2015-09-18 18:31:43 +02:00
scrawl
41ea76fd83
OpenCS: Add selection outline effect to CSVRender::Object
2015-09-18 18:31:05 +02:00
scrawl
dac3b33efb
OpenCS: Pass events from the QGLWidget to the RenderWidget
2015-09-18 18:30:48 +02:00
scrawl
169fc6a61b
OpenCS: Remove margin around the render window
2015-09-18 18:29:22 +02:00
Marc Zinnschlag
1aa926c7e0
restored T-shortcut (focus toolbar) in scene widget
2015-09-17 12:41:56 +02:00
Marc Zinnschlag
659b87b25f
more cleanup
2015-09-17 11:31:25 +02:00
Marc Zinnschlag
b3b4fb3efb
removed some left-over signal slot stuff that shouldn't have been there in the first place
2015-09-17 11:27:55 +02:00
scrawl
a47617c21f
Fix tab indentations in apps/ and components/
2015-09-16 20:45:37 +02:00
cc9cii
1365b8edd1
Fix typo.
2015-09-12 11:18:07 +10:00
cc9cii
45aee1b508
Remove AI flag from the UI and instead auto-detect whether to save AIDT records. Should resolve bug #2879 .
2015-09-12 10:15:32 +10:00
cc9cii
5a5e1a3b22
Add missing fields for editing creatures.
...
- Should resolve resolve bugs #2878 (level), #2901 (gold) and #2889 (health).
- Moved Soul, Combat, Magic and Stealth editing to dialogue only (to be consistent with editing NPCs)
2015-09-12 10:00:23 +10:00
cc9cii
c4a900ca2c
Rationalise the use of ColumnIds
2015-09-12 09:33:11 +10:00
cc9cii
258b2ba29a
Ensure ColumnId names are unique. Filter parser calls Columns::getId() which implies that these should be unique.
2015-09-12 09:04:43 +10:00
Marc Zinnschlag
a445683312
Merge branch 'mergetool'
...
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/tools/tools.cpp
2015-09-11 13:22:15 +02:00
Marc Zinnschlag
5be176ee85
disable on-demand loading of land data (for now, maybe)
2015-09-11 13:02:24 +02:00
Marc Zinnschlag
23fde87816
fixed an indexing error
2015-09-11 10:50:19 +02:00
Marc Zinnschlag
584a7a66b9
various minor fixes
2015-09-10 12:41:31 +02:00
Marc Zinnschlag
09ec60fe2a
handle missing land texture records properly during merge
2015-09-08 16:01:34 +02:00
Marc Zinnschlag
73f6efddcc
fixed a texture indexing bug (only affects the editor)
2015-09-08 15:33:15 +02:00
Marc Zinnschlag
a8dc1c1198
merge land tables
2015-09-03 16:15:00 +02:00
Marc Zinnschlag
85f6bb892b
removed indirection in OpenMW-CS land record
2015-08-31 18:13:27 +02:00
Marc Zinnschlag
69b9eadb52
refactored loading of land data
2015-08-31 16:13:26 +02:00
Marc Zinnschlag
febf611c82
made return type of ESMTerrain::Storage::getLand const
2015-08-31 14:17:11 +02:00
Marc Zinnschlag
69045d7ec9
additional safety check for land texture listing merge stage
2015-08-31 11:10:58 +02:00
Marc Zinnschlag
890bbb6b11
merge land texture tables
2015-08-30 14:27:22 +02:00
Marc Zinnschlag
b7983d08ba
fixed merge stage order; added proper initialisation
2015-08-30 11:08:56 +02:00
Marc Zinnschlag
a97a632aa7
merge references tables
2015-08-26 17:21:24 +02:00
Marc Zinnschlag
845cafd61c
fixed record state issues after merge
2015-08-25 12:40:40 +02:00
Marc Zinnschlag
f95950e8d8
merge referenceables table
2015-08-25 11:54:16 +02:00
Marc Zinnschlag
9cf793c0b5
silenced a warning
2015-08-25 11:39:43 +02:00
Marc Zinnschlag
40753aa9a3
simplifying merge stage
2015-08-25 08:43:03 +02:00
Marc Zinnschlag
16dda281ce
made merge operation more fluent
2015-08-23 13:04:42 +02:00
Marc Zinnschlag
103073150e
added info tables and pathgrid table to merge operation
2015-08-23 12:58:49 +02:00
Marc Zinnschlag
c92898a5bc
flag newly merged documents as dirty (triggering an 'are you sure' dialogue when closing without saving first)
2015-08-23 12:37:45 +02:00
Marc Zinnschlag
e76401d5ea
Merge remote-tracking branch 'smbas/fix-opencs-bugs'
2015-08-23 12:15:19 +02:00
Stanislav Bas
ba4b7df99d
Add missing includes to columnimp.hpp
2015-08-22 16:35:00 +03:00
Stanislav Bas
720aca8f3d
Inform about State change (not a whole row) when modifying a table value
2015-08-22 16:34:57 +03:00
Stanislav Bas
4d24eff859
Show race only when mesh type is Skin (in BodyParts table)
2015-08-22 16:34:54 +03:00
Stanislav Bas
6d81ca07b5
Convert AiWanderRepeat to bool in ActorAiRefIdAdapter::getNestedData()
2015-08-22 16:34:45 +03:00
scrawl
32ad8c86bf
Fix the ESM::LandTexture NAME being discarded on loading
2015-08-22 13:10:54 +02:00
scrawl
031d64d0d3
Adjust OpenCS saving stages order to stop vanilla MW complaining about missing records
2015-08-22 12:57:39 +02:00
Stanislav Bas
b7295e2632
Columns with Display_Boolean use Combobox editor even for non-boolean values
2015-08-21 22:36:53 +03:00
Stanislav Bas
aeb1acca51
Remove enum names for AiWanderRepeat column
2015-08-21 22:05:40 +03:00
Stanislav Bas
e14aedc7cd
ModifyCommand uses a proper name of a modified nested value
2015-08-21 21:47:29 +03:00
Stanislav Bas
d038ac2da0
Sort tables by ID in the ascending order initially
2015-08-21 21:38:28 +03:00
Marc Zinnschlag
3902513e65
merge id collections
2015-08-21 14:02:32 +02:00
scrawl
67bd6cd708
Remove empty line at the beginning of files
...
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
2015-08-18 23:06:12 +02:00
scrawl
d1e1c0f38b
Editor: fix a typo in ESM::Light flag mappings
2015-08-16 23:42:08 +02:00
Marc Zinnschlag
47dd9505a9
copy meta data from game file when merging
2015-08-16 18:27:17 +02:00
Marc Zinnschlag
1b663f01af
create merged document and open a view for it (document is still empty at this point)
2015-08-16 15:24:48 +02:00
Marc Zinnschlag
5558962b14
Merge remote-tracking branch 'scrawl/editor_creatureflag'
2015-08-16 10:13:11 +02:00
Marc Zinnschlag
8bb28c3236
Merge remote-tracking branch 'corristo/osx-hidpi'
2015-08-16 10:06:38 +02:00
Nikolay Kasyanov
dbcce482a6
OS X: enable high resolution mode for OpenMW & OpenCS
...
We don't support retina completely yet, but it's still better than
blurry mess, and Qt does pretty good job for OpenCS already.
2015-08-15 22:37:09 +02:00
scrawl
e36ebc77d5
Editor: remove creature flag of unknown purpose from the UI
2015-08-15 18:39:00 +02:00
scrawl
c07ced4c8f
Editor: fix magic effect magnitudes incorrectly labelled as Min/Max Range
2015-08-13 17:01:25 +02:00
Marc Zinnschlag
d8655f2ff8
forgot to connect merge operation signals
2015-08-13 14:49:32 +02:00
Marc Zinnschlag
e2377396a7
inheriting Merge from QWidget instead of QDialog, because QDialog is bloody useless for non-modal dialogues (which makes the class completely useless, since modal dialogues are the spawn of Satan)
2015-08-13 12:53:00 +02:00
Marc Zinnschlag
904ad94952
added merge operation (doesn't do anything yet)
2015-08-13 12:03:20 +02:00
Marc Zinnschlag
708cacdec4
disable merge menu item when a merge is already in progress
2015-08-08 16:47:58 +02:00
Marc Zinnschlag
23ccee0124
Merge remote-tracking branch 'dieho/master'
...
Conflicts:
apps/opencs/view/world/dialoguesubview.cpp
2015-08-08 11:00:44 +02:00
Marc Zinnschlag
7f10a7f24f
Merge remote-tracking branch 'smbas/feature-mgef-verifier'
2015-08-08 10:50:38 +02:00
Stanislav Bas
ff2dab8d56
Remove check for an empty Particle from Magic effects verifier
2015-08-06 14:17:42 +03:00
Marc Zinnschlag
4fd3097c1c
improved adjuster widget problem reporting
2015-08-06 12:58:52 +02:00
Marc Zinnschlag
b83f9445a9
added UI for merge tool (merge tool itself is still missing)
2015-08-06 12:52:10 +02:00
Marc Zinnschlag
469a896ca1
make non-editable fields in dialogue sub view selectable ( Fixes #2818 )
2015-08-06 08:45:38 +02:00
taras.kudryavtsev
8ae7c63c45
#2730 and #2725
2015-08-04 16:58:44 +03:00
Stanislav Bas
cbc8309289
Don't allow empty value of School field in Magic Effects table
2015-08-04 16:19:00 +03:00
Stanislav Bas
8da9eecea7
Correct comparison of enum values in IdTableProxyModel
2015-08-03 19:24:00 +03:00
Stanislav Bas
0ea4d1981a
Add magic effect verifier
2015-08-03 19:08:01 +03:00
Stanislav Bas
6b3de5c720
Activate editing of nested table cells by a double click
2015-08-02 22:53:40 +03:00
Stanislav Bas
1590a04d03
Close EditWidget when a proper row removed
2015-08-02 22:39:41 +03:00
Stanislav Bas
33042c1464
Restore Modified status of a record when adding/removing nested rows
2015-08-02 21:52:55 +03:00
Stanislav Bas
25b653e316
Inform about Modified status change when modifying a value of a model
2015-08-02 15:06:56 +03:00
Stanislav Bas
afb36b73eb
Proper index for Modified column in ModifyCommand
2015-08-02 15:03:27 +03:00
Marc Zinnschlag
6a9218ee07
replaced State_Compiling (not requried anymore) with State_Merging
2015-07-30 11:49:24 +02:00
Marc Zinnschlag
2c1cee38b4
Merge remote-tracking branch 'smbas/feature-extended-configurator'
2015-07-28 07:56:12 +02:00
Stanislav Bas
03c2e11961
Update to upstream/master. Resolve merge conflicts
2015-07-27 13:54:13 +03:00
Marc Zinnschlag
420503d5fc
Merge remote-tracking branch 'smbas/fix-bug-2728'
2015-07-27 11:23:49 +02:00
Marc Zinnschlag
bafa86d3e9
Merge remote-tracking branch 'scrawl/master'
2015-07-27 11:10:16 +02:00
Stanislav Bas
812fffbadc
Don't inform about a nested row addition in proxy models for top-level tables
2015-07-26 20:25:46 +03:00
Stanislav Bas
2471e4d67a
Rework Table to use rowAdded() signal of a proxy model
2015-07-26 20:09:31 +03:00
Stanislav Bas
86b7d2a43d
Inform about a row addition after re-sorting in InfoTableProxyModel
2015-07-26 20:07:36 +03:00
Stanislav Bas
37fd733deb
Create a custom signal to inform about a row addition in IdTableProxyModel
2015-07-26 20:06:30 +03:00
Stanislav Bas
c088cd4fa9
Proper index creation for nested data
2015-07-25 18:32:13 +03:00
scrawl
b3f5ac5dbb
Include cleanup
2015-07-25 02:11:49 +02:00
Marc Zinnschlag
fcf9ae42f4
Merge remote-tracking branch 'smbas/fix-table-proxy-bugs'
2015-07-24 10:29:08 +02:00
Rohit Nirmal
6d2d32485f
Fix building OpenCS with Qt 5.
2015-07-23 22:22:22 -05:00
Stanislav Bas
f5b1447c92
IdTableProxyModel refreshes the filter when the source model data or rows changed
2015-07-23 21:05:00 +03:00
Stanislav Bas
a7b3248ee7
Proper sorting of columns with enum values
2015-07-23 20:35:16 +03:00
Stanislav Bas
daaff1284e
Remove unused includes
2015-07-22 22:18:26 +03:00
Stanislav Bas
13bb6be238
Load methods (for ESM records) accept a deleted flag in OpenCS
2015-07-22 22:17:26 +03:00
Stanislav Bas
1e8182220a
Fix build errors & warnings
2015-07-19 23:44:16 +03:00
Stanislav Bas
8e6a7be6f5
Implement saving of deleted records
2015-07-19 14:58:20 +03:00
Stanislav Bas
e04e32bcff
Delete infos of deleted dialogue when loading a content file
2015-07-19 14:58:18 +03:00
Stanislav Bas
a4d3e59e5c
Add a separate method to check whether a record is deleted or not for IdCollection
2015-07-19 14:58:16 +03:00
Marc Zinnschlag
cdfa3006a3
incorrect sBribe GMSTs for new omwgame files ( Fixes #2785 )
2015-07-18 17:47:50 +02:00
Marc Zinnschlag
b2ab0122ab
Merge branch 'scriptbuttons'
2015-07-18 17:37:43 +02:00
Marc Zinnschlag
f1ac440b78
do not allow editing of deleted scripts
2015-07-18 17:00:00 +02:00
Marc Zinnschlag
8763a3b3c3
make compilation delay configurable via a user setting
2015-07-18 15:32:38 +02:00
Marc Zinnschlag
73b6df8280
put script compilation in script subview behind a timer
2015-07-18 13:09:17 +02:00
scrawl
58720e6a28
Fix the OpenCS rendering crash on exit ( Fixes #2735 )
2015-07-18 03:52:48 +02:00
Marc Zinnschlag
5febb96012
do not try to jump to source location for errors that do not have a source location
2015-07-17 13:59:50 +02:00
Marc Zinnschlag
f665919046
consider column when jumping to error in source text
2015-07-17 13:53:22 +02:00
Marc Zinnschlag
0abd29a3b4
jump to line in source text when clicking on an error in error table
2015-07-17 13:42:25 +02:00
Marc Zinnschlag
100af80388
made error table read only
2015-07-17 13:06:51 +02:00
Marc Zinnschlag
56ed0926bd
improved error table layout
2015-07-17 12:45:08 +02:00
Marc Zinnschlag
eab1ec9160
consider script warning settings for script subview
2015-07-17 11:52:59 +02:00
Marc Zinnschlag
9b12b4f1e2
refactored mapping from message severity enum to string
2015-07-16 14:46:02 +02:00
Marc Zinnschlag
2d8a78726d
improved error reporting
2015-07-16 14:09:14 +02:00
Marc Zinnschlag
2016ff773f
display script errors in script subview
2015-07-16 12:36:20 +02:00
Stanislav Bas
3ba73f5fd9
Handle deleted records in RefCollection
2015-07-15 21:14:00 +03:00
Stanislav Bas
a1389b87ba
Return a correct index for a loaded record that was deleted
2015-07-14 23:31:16 +03:00
Stanislav Bas
5e623a2a1d
Rework RefIdData code. Update the index map when a new record is loaded
2015-07-14 20:54:24 +03:00
Marc Zinnschlag
df027b3498
hooked up script subview buttons to bottom box (enables add and clone)
2015-07-14 13:52:48 +02:00
Marc Zinnschlag
cf1fb76bb4
fixed deleted button sensitivity state
2015-07-14 13:34:13 +02:00
Marc Zinnschlag
0860c27b03
improving consistency of subview layouts
2015-07-14 11:49:41 +02:00
Marc Zinnschlag
2202973c24
replaced the script subview status bar with a bottom box (including a status bar)
2015-07-14 10:05:45 +02:00
Marc Zinnschlag
fc6c14614b
added user settings option to toggle toolbars in single-record subviews
2015-07-13 12:52:18 +02:00
Stanislav Bas
71e5fc7f04
Remove INAM handling from InfoCollection
2015-07-13 11:27:32 +03:00
Marc Zinnschlag
749eff5259
renaming a few user settings categories
2015-07-13 09:42:16 +02:00
Stanislav Bas
74a055f3cc
Remove NAME and DELE handling from IdCollection
2015-07-13 10:40:11 +03:00
Stanislav Bas
42f9136141
Remove DELE and NAME handling from RefIdCollection and RefIdData
2015-07-12 15:22:51 +03:00
Marc Zinnschlag
b97a4cee44
added button bar to script subview
2015-07-11 16:09:13 +02:00
MiroslavR
13f289d1a5
Fix calculation of selected blocks in ScriptEdit
2015-07-06 16:35:45 +02:00
Stanislav Bas
47d21ff4b3
Add edit locking to ExtendedCommandConfigurator
2015-07-05 22:49:48 +03:00
Stanislav Bas
3c6bc74062
Close the extended configurator when all respective records were removed outside
2015-07-05 22:10:37 +03:00
Marc Zinnschlag
6c5dc5c7a0
Merge remote-tracking branch 'smbas/fix-cell-creating'
2015-07-05 20:43:59 +02:00
Stanislav Bas
ceb3dea55c
Rewording of the user setting for extended configuration
2015-07-05 20:11:21 +03:00
Stanislav Bas
6162a46fbe
Update to upstream/master. Resolve the merge conflict
2015-07-05 16:15:48 +03:00
Marc Zinnschlag
ea1ddb5c9f
Merge remote-tracking branch 'smbas/feature-dialogue-edit-id'
2015-07-05 14:44:33 +02:00
Stanislav Bas
3ffa0aa185
Count of nested columns can be retrieved for a collection with no records
2015-07-05 15:36:41 +03:00
Stanislav Bas
4fbd24206b
ExtendedCommandConfigurator: layout changes
2015-07-04 20:47:10 +03:00
Stanislav Bas
880bc31ddf
TableBottomBox: Creator/Configurator can be closed via Escape
2015-07-04 20:30:02 +03:00
Stanislav Bas
c1b06538dc
Add Edit 'ID' action for nested fields
2015-07-04 19:55:48 +03:00
Stanislav Bas
30fd711a47
TableEditIdAction: prevent creation of a UniversalId with Type_None
2015-07-04 19:39:53 +03:00
Stanislav Bas
86dc5a2c67
Add Edit 'ID' action for nested tables
2015-07-04 19:27:59 +03:00
Stanislav Bas
464e674a81
Rework Table (view) code to use a TableEditIdAction
2015-07-04 18:51:39 +03:00
Stanislav Bas
6b34845168
Create a separate class for Edit 'ID' action to use in tables' context menus
2015-07-04 18:49:32 +03:00
Stanislav Bas
1f826476ff
Fix build error
2015-07-04 02:02:22 +03:00
Stanislav Bas
ff3c9a6fb2
ExtendedCommandConfigurator: the perform button is now the default for the widget
2015-07-03 23:35:00 +03:00
Stanislav Bas
e664ef7578
ExtendedCommandConfigurator: the perform button takes the name of the command that is executed
2015-07-03 23:15:26 +03:00
Stanislav Bas
05cc130212
The configuration panel gets a focus when opening
2015-07-03 22:31:38 +03:00
Stanislav Bas
95d16b24c0
ExtendedCommandConfigurator: disable the perform button when all tables are unchecked
2015-07-03 22:25:56 +03:00