Commit graph

469 commits

Author SHA1 Message Date
spherallic
bd9b6ae5a8 Fix a crash when dragging a stray FOF control line 2024-06-04 23:51:03 +02:00
spherallic
1d65205a6b Filter non-marked linedefs by edited area when accepting Edit Selection mode 2024-05-29 16:05:18 +02:00
spherallic
f425ed7909 Clean up slope correction for dragged FOF control sectors 2024-05-27 17:08:03 +02:00
spherallic
097ad4107c Improve slope handling when dragging FOF control sectors 2024-05-24 19:58:53 +02:00
spherallic
c6eecdec5d Merge remote-tracking branch 'udb/master' 2024-05-24 15:24:42 +02:00
biwa
2a404cf1fc Linedefs Mode, Sectors Mode, Things Mode: fixed a problem where multi-selecting many spread out map elements could result in an exception. Fixes #1053 2024-05-11 14:28:52 +02:00
spherallic
3726bb5a3b Merge remote-tracking branch 'udb/master' 2024-01-28 22:36:53 +01:00
biwa
77ed089917 Linedefs Mode: fixed an issue where aligning flats to lines through the "Linedefs" menu would round the offsets to whole numbers. Now it rounds to 6 decimal places, which is in line with aligning flats in Visual Mode 2024-01-12 14:14:38 +01:00
spherallic
b5f482e9dc Merge remote-tracking branch 'udb/master' 2024-01-09 14:06:45 +01:00
biwa
5ff0bc76db Sectors Mode: fixed a problem where dragging a single highlighted sector did not move the things in the sector when synchronized things editing was enabled 2024-01-06 15:15:39 +01:00
biwa
957bec7f43
Autosave map functionality (#995)
Added autosaving of the current map. Autosaving happens in intervals when the map is changed. It will not overwrite the current map, but rather create new files, just like backups. Autosaving interval and number of files can be configured in the "Recovery" tab of the preferences. Autosaving can also be disabled there (not recommended). Autosaves will not have their nodes built for performance reason.
2023-12-15 22:49:28 +01:00
spherallic
9046f6a4f7 Merge remote-tracking branch 'udb/master' 2023-09-20 21:04:54 +02:00
wisselstem
63010d871a
Draw Curve Mode, Draw Ellipse Mode, Draw Rectangle Mode: added option to place things at the designated vertex positions instead of drawing geometry (#956) 2023-09-17 15:39:19 +02:00
wisselstem
01bcdc01b2
Point Thing at Cursor: check for a thing's fixedrotation rather than its category's arrow setting (#957) 2023-09-17 13:06:57 +02:00
spherallic
89f781bdc4 Make $(Not)Angled property set fixedrotation 2023-09-15 16:55:51 +02:00
spherallic
7964875710 Expand 3D floor checks to encompass SRB2's multiple actions 2023-09-14 22:17:57 +02:00
spherallic
8b161a78a6 Draw Modes: Don't draw preview lines when "Place things" is enabled 2023-09-11 02:05:46 +02:00
wisselstem
32cfe294e2
Things Mode: update things filter when clone-dragging things (#951) 2023-09-08 19:19:57 +02:00
spherallic
845cbe2c3a Fixed "Place Things" not working for Draw Curve mode 2023-09-08 13:35:26 +02:00
spherallic
f50b138424 Update things filter when clone-dragging things 2023-09-08 12:22:50 +02:00
spherallic
5f408e2c6e Add "Place Things" option to curve, ellipse and rectangle drawing modes 2023-09-08 02:57:22 +02:00
spherallic
92418d40a6 Merge remote-tracking branch 'udb/master' 2023-09-06 22:42:33 +02:00
spherallic
d2b4c05aa6 Don't cancel pointing thing at cursor if category info doesn't have arrow 2023-09-06 00:10:56 +02:00
biwa
5c76efb8c0 Fixed a problem where not selected geometry and things could not be dragged when the "don't move selection if any part of it is outside of map boundary" option was enabled 2023-08-26 13:49:00 +02:00
spherallic
b56ca5e018 Merge remote-tracking branch 'udb/master' 2023-08-21 20:41:15 +02:00
samwiddowson
19b8bd1e6c
Edit Selection Mode: Fix Ceiling/Floor transforms when pinned (#943) 2023-08-11 18:25:49 +02:00
spherallic
202a8294ba Merge remote-tracking branch 'udb/master' 2023-06-20 09:58:08 +02:00
biwa
6f047e4347 Draw Grid Mode: fixed a problem where "continuous drawing" would redraw all previously drawn shapes each time a drawing was finished. Fixes #912 2023-06-19 20:27:26 +02:00
spherallic
ba67a87c75 Optimize SRB2 NiGHTS/zoom tube/polyobject rendering
(Text labels are removed because of performance issues)
2023-06-15 12:25:46 +02:00
spherallic
1c0649883f Disable light/sound radii toggles if unsupported 2023-06-12 12:35:34 +02:00
spherallic
c32f677c44 Merge remote-tracking branch 'udb/master' 2023-06-10 19:31:53 +02:00
biwa
bc98a5391f
Added action to change the index of linedefs, things, sectors, and vertices. Can be accessed through a shortcut (not bound by default) or the menu of the respective mode (#903) 2023-06-09 11:17:01 +02:00
wisselstem
0d4cecc134
Edit Selection Mode: added support for (counter)clockwise rotation actions (#900) 2023-06-09 09:54:23 +02:00
spherallic
69c667073a Merge remote-tracking branch 'udb/master' 2023-05-29 11:04:31 +02:00
wisselstem
d2a4dcffce
Edit Selection Mode: added actions for moving the selection around the grid (#888) 2023-05-26 20:56:30 +02:00
spherallic
06e2c06553 Reduce blockmap use when drawing/stitching geometry, increasing performance in large maps 2023-05-24 12:50:45 +02:00
spherallic
087b1c8e8f Merge remote-tracking branch 'udb/master' into udbmerge202304 2023-05-12 13:45:56 +02:00
biwa
86f1532a9f Edit Selection Mode: fixed a problem where floor and ceiling textures were unintentionally scaled in UDMF when resizing the selection. Fixes #873 2023-04-22 19:38:18 +02:00
MascaraSnake
d29bd54034 Refactor code that relies on the number of action args being exactly 5 2022-12-28 23:04:32 +01:00
biwa
204982e5f8
Add support for toasts (#817)
Behavior can be configured in the "Toasts" tab in the preferences.
2022-11-06 15:08:22 +01:00
biwa
9e5a6b5377 Tag Range plugin: fixed a problem where the new tags were not displayed in Sectors Mode when selection numbering was disabled. Fixes #795 2022-10-03 11:29:31 +02:00
biwa
9c4c63a749 Sectors Mode: fixed a regression where sector labels were not updated after editing sectors. Fixes #793 2022-09-21 21:05:30 +02:00
biwa
fa5c741b76 Fixed a regression where editing map elements did not preserve the selection order, but used the index order instead. Fixes #791 2022-09-20 23:52:41 +02:00
biwa
179f72068f 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)
2022-09-18 16:54:09 +02:00
biwa
d2967e7a78 Linedefs Mode: fixed a problem where the "Select Single-sided only" and "Select Double-sided only" actions would still display the selection numbers of deselected linedefs 2022-08-28 18:25:50 +02:00
biwa
44a2a0daae Edit Selection Mode: floor and ceiling textures can now be pinned independently. Fixes #728 2022-05-07 17:44:06 +02:00
biwa
98d32f7946 Linedefs Mode: fixed a crash that could happen when the mouse was moved out of the map control while an UDBScript was modifying the map 2022-04-09 17:52:38 +02:00
biwa
5115686a69 Sectors Mode: fixed a crash that could happen when the mouse was moved out of the map control while an UDBScript was modifying the map 2022-03-15 21:31:00 +01:00
biwa
9b08454138 Edit Selection Mode: improved handling of texture transformation (still doesn't work 100% correctly) 2022-03-14 19:52:46 +01:00
biwa
6c2ad3efaf Linedefs Mode: further speed improvements related to sector labels 2022-02-08 21:30:54 +01:00