Commit graph

698 commits

Author SHA1 Message Date
spherallic
a9ca5ae625 Clear out GZBuilder directory a bit 2023-05-09 00:02:14 +02:00
spherallic
bd87668555 Actually add move selection by 8 mp actions 2023-05-08 15:45:49 +02:00
spherallic
0514086933 Increment angle by 5 instead of 8 in curve linedefs mode 2023-05-08 15:02:03 +02:00
spherallic
987f998ba4 Allow holding down "move selection" actions & add 8 mp versions 2023-05-08 14:50:43 +02:00
spherallic
aac2a46e78 Correct some player height checks for SRB2 2023-05-08 13:35:44 +02:00
Derek MacDonald
8a27615178 Cursor position playtest: stop always marking map changed (#605) 2023-05-08 13:28:28 +02:00
biwa
e13c836344 Classic modes: fixed a problem where "test from cursor position" wasn't working correctly when there was no player 1 start in the map and the last edited thing had its argument 0 set. Fixes #603 2023-05-08 13:27:53 +02:00
biwa
199108ba64 Improved solution for issue #573 to not destroy the undo history when no player start is present 2023-05-08 13:26:42 +02:00
biwa
a8c28e3f68 Fixed a crash when undoing after using the "test from current position" action when no player 1 start is in the map. Fixes #573 2023-05-08 13:25:10 +02:00
biwa
3554508ffb - Only allow Edit Selection Mode to be cancelled once
- Added preliminary code to remove new 3D floor control sectors when pasting was canceled after duplicating 3D floors
2023-05-08 13:24:55 +02:00
biwa
4f4a0bdf58 - Test map from current mouse position now works properly in Hexen/UDMF maps with multiple player starts. Also works in maps without a valid player start now. Fixes #263. 2023-05-08 13:24:14 +02:00
biwa
f59fbed358 Sector/Linedef/Thing/Vertex Edit Form: the map will not be marked as changed anymore when canceling changes made in the forms, when the map wasn't marked as changed before
Copying map elements doesn't mark the map as changed anymore if the map wasn't marked as changed before copying
2023-05-08 13:21:15 +02:00
biwa
54fe5ae165 Fixed a bug that could cause a crash when going over the maximum linedef limit 2023-05-08 13:06:38 +02:00
biwa
b7d92fb704 Fixed a problem where dragging or drawing geometry sometimes broke sectors. Fixes #556 2023-05-08 13:05:11 +02:00
biwa
4b0dce43ed Changed how performing undo interacts with volatile modes (it will now actually perform the undo instead of just canceling the volatile mode) 2023-05-08 12:46:17 +02:00
biwa
7d180e5cae Snap selection to grid: fixed a problem that could cause a crash if geometry got removed by snapping it to the grid 2023-05-08 12:34:41 +02:00
spherallic
bf7cc42166 Get SplitLinesByVertices up-to-date 2023-05-08 12:30:32 +02:00
spherallic
2f407b585c Unfreeze arrays when stitching geometry fails 2023-05-07 23:23:33 +02:00
biwa
28aa7e4481 Linedefs Mode: fixed a problem where after splitting a linedef the insert vertex preview would not work correctly
Vertices Mode: fixed a problem where after inserting a vertext the insert vertex preview would not work correctly
2023-05-07 22:41:05 +02:00
biwa
efd19296bd Vertices Mode: fixed a potential crash when deleting/dissolving vertices 2023-05-07 22:38:33 +02:00
spherallic
6327ac9e51 Fix "Back" option never being checked when loading default stair builder preset 2023-05-07 20:42:58 +02:00
spherallic
13b2156b08 Fix VS auto-merging issue with stair sector builder 2023-05-07 16:10:52 +02:00
biwa
9f7b511224 Stair Sector Builder Mode: fixed an issue where the number of sectors and the sector depth was not loaded correctly when a default prefab was set. Fixes #847 2023-05-07 16:05:47 +02:00
biwa
4c40441e01 Stair Sector Builder Mode: current settings can be now be saved as a default prefab that will always be loaded when using the Stair Sector Builder Mode 2023-05-07 16:05:28 +02:00
biwa
d66169f2cb Sectors Mode: fixed a regression where sector labels were not updated after editing sectors. Fixes #793 2023-05-07 15:58:38 +02:00
spherallic
c3d4363b94 Fix error that prevented dragging a single unselected map element 2023-05-07 15:57:04 +02:00
biwa
53ca8efc6a Fixed a regression where editing map elements did not preserve the selection order, but used the index order instead. Fixes #791 2023-05-07 14:53:28 +02:00
biwa
f3cb854bbd Things Mode: increased rendering speed 2023-05-07 14:52:45 +02:00
biwa
d138f29cda Things/Linedefs/Sectors/Vertices Modes: standardized how editing and selection works:
- editing a highlighted, not selected map element will deselect other selected map elements, then start editing the highlighted map element
- dragging a highlighted, not selected map element will deselect other selected map elements, then start dragging the highlighted map element
- dragging a single map element will keep its selection state. I.e. dragging a selected map element will not deselect it after dragging anymore
  - dragging a highlighted, not selected thing will not select it after dragging
- dragging a highlighted, not selected sector, while other sectors are selected, will only drag the highlighted sector, and not the selected sector (and deselect the selected sectors)
2023-05-07 14:48:13 +02:00
biwa
e91114ce5e Sectors Mode: fixed an potential crash when joining/merging sectors 2023-05-07 14:26:38 +02:00
biwa
710cb59719 Linedefs Mode, Sectors Mode, Vertices Mode, Sound Environment Mode, Sound Propagation Mode: slightly improved performance when moving the mouse 2023-05-07 14:24:39 +02:00
biwa
60a010efd1 Editing modes: fixed some crashes related to undoing/redoing while objects with associations were highlighted 2023-05-07 14:21:41 +02:00
spherallic
76e68f6c9a Fix error with Select Floors/Ceilings action 2023-05-04 14:54:21 +02:00
spherallic
c9984a6a5a Small 2.2 config tweaks 2023-05-04 02:21:10 +02:00
spherallic
dfb77a093a Add NoArrow parameter for custom Lua/SOC objects 2023-05-03 17:23:10 +02:00
spherallic
78e6f5b114 Finally fix repeating midtexture selection in Visual Mode 2023-05-03 01:28:05 +02:00
Magnus Norddahl
1435208163 Remove more dictionaries from the render loop 2023-05-03 00:10:37 +02:00
Magnus Norddahl
026324779e Speed up linedef processing by not relying on a hashmap 2023-05-03 00:07:21 +02:00
spherallic
e44debce82 Skip lines with certain actions and tags when checking unknown textures 2023-05-03 00:06:27 +02:00
spherallic
8747bb5be9 Add separate colors for polyobject previews, remove NiGHTS axis circle precision option 2023-05-02 04:38:50 +02:00
spherallic
fa1483351f Fix waypoint colors not being customizable 2023-05-02 04:07:18 +02:00
spherallic
10eb57aed0 Add toggle for marking special linedef/thing flags 2023-05-02 02:27:35 +02:00
spherallic
e7687b183d Disable SRB2-related preview buttons in Visual Mode, reword some actions 2023-05-01 23:05:49 +02:00
spherallic
8f3ce1fc01 Clean up dummy zoomtube graphic 2023-05-01 20:40:05 +02:00
spherallic
b6e6c763f3 Reorganize toolbar buttons, remove textlabel backcolor 2023-05-01 20:36:36 +02:00
spherallic
5c13cbb011 Implement polyobject previews, clean up zoom tube & NiGHTS rendering 2023-05-01 20:08:25 +02:00
spherallic
65604bab03 Slightly walk back a copy slope "fix" to prevent DSZ2 from freezing the editor 2023-05-01 18:30:22 +02:00
spherallic
d79a379b3b Fix NiGHTS path toolbar button not working 2023-04-28 17:21:07 +02:00
spherallic
b2b78437b3 Decrease MINIMUM_THING_RADIUS 2023-04-27 23:43:09 +02:00
spherallic
38795d4c14 Support SRB2 flat alignment when exporting images 2023-04-27 21:49:12 +02:00