Nelsson Huotari
18cdd3bd7c
rebase-related fixes
2020-03-26 13:25:33 +02:00
Nelsson Huotari
da0add904b
Fix and simplify brush outlines and coordinate calculations
2020-03-26 13:25:33 +02:00
Nelsson Huotari
8f625474fd
Hotfix terraintexturemode circle brush radius calculations
2020-03-26 13:25:33 +02:00
Nelsson Huotari
e14c390a9b
Fix crash
2020-03-26 13:25:33 +02:00
Nelsson Huotari
731e5b57f5
Tool outline for terraintexturemode and square shape. Various fixes.
2020-03-26 13:25:33 +02:00
Nelsson Huotari
24c8b32d4c
Implement brush outline for terrainshapemode
2020-03-26 13:25:33 +02:00
Nelsson Huotari
793ea8566f
Fix typo
2020-03-19 12:14:10 +02:00
Nelsson Huotari
17cb3414d8
clean-up, improve formatting
2020-03-19 11:18:54 +02:00
Nelsson Huotari
75f6577f61
Remove unneeded include
2020-03-18 11:26:11 +02:00
Nelsson Huotari
41aa90bfa7
Add helper class for safer mask handling
2020-03-18 11:18:18 +02:00
Nelsson Huotari
af434cffba
fix numeric limits min() to lowest(), fix correct drop height
2020-03-18 11:18:18 +02:00
Nelsson Huotari
035d5205d9
Use collision boxes to calculate dropping height, variable naming
2020-03-18 11:18:18 +02:00
Nelsson Huotari
54738e1e32
Handle mask disabling better
2020-03-18 11:17:22 +02:00
Nelsson Huotari
711dc59f09
Implement four different functions for dropping
2020-03-18 11:17:22 +02:00
Nelsson Huotari
f063eeb36e
Drop objects with a keyboard shortcut
2020-03-18 11:17:22 +02:00
Nelsson Huotari
198a75b8e6
Delete selected instances with a hotkey
2020-02-19 11:44:55 +02:00
Andrei Kortunov
84979fa8b7
Move VisMask to components
2020-02-16 16:03:35 +04:00
AnyOldName3
73722eedf3
Add default font releaseGLObjects workaround for OSG <3.65
...
This resolves https://gitlab.com/OpenMW/openmw/issues/4704
I've not compiled this or anything and I'm going off my memory from
around ten or eleven months ago, so if this fails CI or causes more
problems, that's why. The most likely issue is that we'll need to make
the context current before releasing the program.
2020-01-30 23:12:54 +00:00
Bret Curtis
7dfbeff049
Merge pull request #2677 from unelsson/fixcsrotation
...
Editor: Convert radians to degrees when rotating objects
2020-01-28 11:55:56 +01:00
Bret Curtis
44a85795cf
Merge pull request #2669 from Capostrophic/wnam
...
Generate WNAM subrecord upon saving terrain instead of upon editing it
2020-01-28 11:43:47 +01:00
Nelsson Huotari
032513ae18
Convert radians to degrees
2020-01-28 11:33:44 +02:00
Capostrophic
7659370992
Editor: Add a reset to defaults button to keybindings (feature #4068 )
2020-01-13 02:26:01 +03:00
capostrophic
89055f1c6c
Generate WNAM upon saving terrain
2020-01-11 02:42:04 +03:00
Andrei Kortunov
089548cdc4
Fix build on Qt4
2019-12-22 10:31:32 +04:00
Andrei Kortunov
78450312bf
Fix the last warning about deprecated Qt functions
2019-12-20 13:36:32 +04:00
Andrei Kortunov
e44021b369
Fix most of deprecated API usage in the editor
2019-12-20 12:59:56 +04:00
bzzt
f09125fc93
perf regression fix
2019-11-20 13:37:00 +00:00
Bret Curtis
454b9f1964
Merge pull request #2597 from akortunov/coverity
...
CoverityScan fixes, part 2
2019-11-14 21:08:03 +01:00
Alexei Dobrohotov
b5992b380e
Merge pull request #2586 from unelsson/allowselectionalledges
...
Allow selecting cell edges everywhere
2019-11-14 17:25:48 +03:00
Andrei Kortunov
b210e99abc
Avoid divizion by zero
2019-11-14 17:43:21 +04:00
Nelsson Huotari
120583f443
optimize isInCellSelection calls
2019-11-14 11:28:49 +02:00
Andrei Kortunov
238dcdbbd4
Fix copy-paste error
2019-11-13 15:14:30 +04:00
Andrei Kortunov
079c77ff22
Avoid zero division
2019-11-13 14:57:22 +04:00
Nelsson Huotari
45d43045eb
Remove unused std::string
2019-11-04 12:29:37 +02:00
Nelsson Huotari
aeb0ccff90
Allow selecting cell edges everywhere
2019-11-04 12:16:08 +02:00
Nelsson Huotari
8f6dc78217
Get vertex height from data, if not available in visible cells.
2019-11-04 00:09:23 +02:00
Nelsson Huotari
9677203215
Don't allow vertex selection outside visible cells
2019-11-04 00:09:23 +02:00
Nelsson Huotari
d186bcb46f
Update selection during transient edit, clear to a single function.
2019-11-03 13:27:27 +02:00
Andrei Kortunov
45ab6e1430
Implement UTF-8 support for script parser (bug #4598 )
2019-10-30 14:59:47 +04:00
Andrei Kortunov
d278e5d4af
Fix warnings about variable re-declaration
2019-10-29 13:48:08 +04:00
Nelsson Huotari
fdc73b87ba
Remove includes that aren't needed any more
2019-10-23 00:07:41 +03:00
Nelsson Huotari
9e5db10288
const ref float -> float
2019-10-23 00:02:24 +03:00
Nelsson Huotari
ac5b356e8d
Always initialize landShapeNew
2019-10-23 00:01:23 +03:00
Nelsson Huotari
6f9f59dd58
declare cellId and cellCoords in smallest possible scope
2019-10-22 21:26:55 +03:00
Nelsson Huotari
fdcc7fa1d7
0 to nullptr
2019-10-22 21:26:55 +03:00
Nelsson Huotari
a13edbdb42
Bump shape calculation to function
2019-10-22 21:26:55 +03:00
Nelsson Huotari
8d3e7f2815
fix normals at cell edges, better coding standards
2019-10-22 21:26:55 +03:00
Nelsson Huotari
0f6ddfe8e6
change include, cleanup
2019-10-22 21:26:55 +03:00
Nelsson Huotari
12349f4e48
cleanup
2019-10-22 21:26:55 +03:00
Nelsson Huotari
c556885d71
remove unused Qt signal
2019-10-22 21:26:55 +03:00