Commit Graph
167 Commits
Author SHA1 Message Date
Garux 5535babca9 split selection.cpp 2026-01-03 20:27:45 +05:00
Garux 7d712c9ab8 use std::array 2025-12-03 00:55:25 +05:00
Garux e1e551ff45 minor tweaks 2025-11-03 00:35:36 +05:00
Garux 7bb1c1ba06 remove odd casts 2025-11-02 02:37:40 +05:00
Garux 5b380fd6fe remove explicit float literal specifiers 2025-11-02 01:27:42 +05:00
Garux 2f17128f06 remove some odd static_cast<> 2025-11-01 20:49:05 +05:00
Garux 17d6588d1a use std::fabs to avoid conversion to double 2025-11-01 19:08:32 +05:00
Garux 00c352b697 remove odd newlines 2025-10-09 02:45:30 +05:00
Garux 66e15e9ba0 minor tweaks 2025-09-23 02:45:24 +05:00
Garux 9ea0873388 minor tweaks 2025-09-08 14:22:10 +05:00
Garux 86d08f9e93 use std::array for PlanePoints 2025-09-07 18:20:13 +05:00
Garux a78a2e492a optimize UnsortedSet memory consumption and use it for selection tracking 2025-09-07 15:48:51 +05:00
Garux d7f3e9bd3f minor tweaks 2025-09-04 16:01:47 +05:00
Garux 911a7cceeb minor tweaks 2025-09-03 00:29:13 +05:00
Garux 5426732f28 minor tweaks 2025-09-02 05:04:33 +05:00
Garux 28c17dc83d UV Tool, surface inspector: better invalid projection handling 2025-03-13 00:41:55 +05:00
Garux 6e16d7e3bd menu * Modify->Repeat: saved transforms feedback and individual resets
* Modify->Repeat->Reset Transforms (alt + r)
2025-02-06 14:37:05 +05:00
Garux 607d4c67ad tweak formatting 2025-02-05 15:59:29 +05:00
TimePath b65f27b166 Callback: cleanup 2025-01-22 14:57:22 +05:00
TimePath 57c8189225 Callback: remove fixed-arity wrappers 2025-01-22 12:39:14 +05:00
TimePath bb72714216 Embrace variadic templates 2025-01-21 12:36:33 +05:00
Garux f387ed7718 * add alt + m1 selection style to transform manipulator for scaling in 3D 2025-01-13 09:59:49 +05:00
Garux bf9feb943a minor refactoring 2025-01-11 12:53:41 +05:00
Garux 4ea3f36f4f don't deselect only primitive in a component mode by alt+m1, as this quits component mode 2025-01-09 13:36:58 +05:00
Garux e9c842f493 do SelectionSystem highlights, manipulations and selections only with intended kb/mouse inputs 2025-01-09 11:49:59 +05:00
Garux 49e7c61d85 switch to g_modifiers use in SelectionSystem 2025-01-07 10:57:19 +05:00
Garux d8290c4ac3 * update SelectionSystem highlights, manipulations immediately onModifierDown(), onModifierUp() 2025-01-06 08:56:08 +05:00
Garux 1a895c1984 prevent simultaneous mouse presses in SelectionSystemWindowObserver
fixes e.g. shift+m2 drag, +m1 -m1
2025-01-05 07:37:40 +05:00
Garux 159a063da8 * fix surface inspector updates on patch texturing changes, on UV Tool edits 2024-12-18 05:28:35 +05:00
Garux 55dc6e677d use std::set std::map contains() 2024-12-01 06:01:52 +05:00
Garux 8202b5a6ba fix some warnings 2024-11-24 02:00:56 +05:00
Garux 679ebd945a improve rotate-snap to align bbox axially as much as possible 2024-10-28 16:55:56 +05:00
Garux 4909d5996d use typedef DeviceVector 2024-10-20 15:23:03 +05:00
Garux 6f4cc1b4d5 use override keyword 2024-10-20 03:12:56 +05:00
Garux 1fe5016022 * m1 drag + ctrl (Drag tool, 3D view): move-snap selecton bbox corner to pointed position in scene
* m1 drag + alt + ctrl: rotate-snap selection bbox to pointed brush face plane
	* m1 drag + ctrl + shift: move selection along initially pointed brush face plane
2024-10-20 03:12:29 +05:00
Garux 1127fd5fbc add RadiantSelectionSystem::AllTransformable interface 2024-10-20 01:38:44 +05:00
Garux 80394171ee class ClipperSelector -> class ScenePointSelector 2024-10-20 01:32:04 +05:00
Garux 68fa1828a6 refactor class RepeatableTransforms, class TransformModifier, class BrushTransformModifier 2024-10-20 00:20:14 +05:00
Garux df02774ff5 tweak StringOutputStream use
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux e02571ff6c * preferences.Selection.Create brushes in 3D (by m1 drag)
remove "Left mouse click tunnel selector" option (now always ON)
closes #134
2024-01-13 19:08:27 +06:00
Garux 9ca1d9354f * UV Tool: measure snapping distance in screenspace 2023-05-09 06:27:50 +06:00
Garux 860ba8906b * UV Tool::skew: snap lines to vertices; change snapping measure to distance 2023-05-07 23:35:18 +06:00
Garux d41adc5e93 * use bounding box for misc_model transformations 2022-12-16 00:53:04 +06:00
Garux 9bbb84ea5a fix some clang warnings & errors 2022-10-29 01:07:30 +03:00
Garux 9d3d204018 Qt 2022-10-27 09:10:31 +03:00
Garux e62483970f double precision clipper points 2021-11-23 16:33:16 +03:00
Garux 6c129e546f store winding points in double precision 2021-11-23 14:48:00 +03:00
Garux 0c390241c8 fix formatting 2021-10-26 18:16:24 +03:00
Garux d812cbd4d4 replace ArrayRange by tcb::span (reproduction of std::span) 2021-10-24 08:32:10 +03:00
Garux ce2e458f4f handle selected noncontributing face case in clipper-init-from-face 2021-10-18 17:14:43 +03:00