Commit graph

20 commits

Author SHA1 Message Date
biwa
82f019b8bd Fixed a potential crash when undoing while having slope handle picking enabled 2020-05-30 16:41:05 +02:00
biwa
ab81b17554 More conversion from float to double. Doesn't seem to crash anymore. 2020-05-22 21:39:18 +02:00
biwa
91cbcde1eb It's compiling! 2020-05-21 14:20:02 +02:00
biwa
f0bfc74702 Decoupled plane equation slopes from sector heights. This means that changing sector heights will not change those slopes (use the offset box in the "slope" tab of the Edit Sector Dialog instead) 2020-05-16 10:40:24 +02:00
biwa
f5baa09684 The raisesectortonearest and lowersectortonearest now work with visual slope handles 2020-03-19 16:16:08 +01:00
biwa
afef349220 - Slope handles are not shown anymore when showing selection is disabled
- Smart pivot handles are now shown for the highlighted slope handle
2020-02-24 12:54:59 +01:00
biwa
37e8154556 - Some refactoring
- Added action to slope selected floors/ceilings between selected slope handles (default key: Ctrl-F)
- Added Shift-W as default key to toggle visual slope picking
2020-02-23 12:44:59 +01:00
biwa
915d83c92a - If geometry is selected and the geometry the modified slope handle belongs to is not selected it will now also be modified
- Made the slope handles hover closer to the geometry
2020-02-23 11:17:14 +01:00
biwa
9c3d8d46ba It's not possible to have a slope handle be selected and set as pivot at the same time 2020-02-23 00:09:57 +01:00
biwa
1b79d9f6c4 Improved drawing length of slope handles on sloped lines (still too short, possibly because of aspect ratio correction?) 2020-02-19 23:03:32 +01:00
biwa
50a73b6af2 Pivot handles can now be set with the normal action to edit objects (no additional hotkey needed) 2020-02-19 22:43:41 +01:00
biwa
e4644b7cab The slope handle closes to the mouse cursor will now always be picked (no minimum distance required anymore) 2020-02-19 22:14:29 +01:00
biwa
7154dec8c7 Code cleanup, added some comments 2020-02-16 22:07:20 +01:00
biwa
ff1ea95d86 Drawing visual slope handles is (mostly) working now
Also fixed some cases where slopes were applied incorrectly
2020-02-16 20:51:16 +01:00
biwa
d9cfc04e2e More trying to get it to work... 2020-01-18 21:10:21 +01:00
biwa
2c9235e4ea Trying to figure out matrix black magic 2020-01-07 21:27:37 +01:00
biwa
0efb786a97 Slopes in 3D floors work again 2020-01-03 01:11:23 +01:00
biwa
7e84883125 Some cleanups 2020-01-02 20:32:37 +01:00
biwa
55135f2982 - Handles on floor are shown
- Fixed a problem where the wrong plane was assigned to ceiling surfaces
2020-01-01 21:47:33 +01:00
biwa
ba713f7a25 Ported visual sloping to UDB 2019-12-31 00:08:17 +01:00