Commit Graph
154 Commits
Author SHA1 Message Date
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
Garux 4471302857 add and use BasicVector3.vec2() 2021-06-23 16:51:03 +03:00
Garux 6c00419653 fix spelling 2021-05-24 20:23:09 +03:00
Garux 2222100316 indent classes, align by spaces 2021-03-24 00:25:15 +03:00
Garux b111d28053 * set clipper points to selected face on clipper tool switching-on 2020-06-17 19:36:33 +03:00
Garux a0a47640b0 * new rendering system for volatile text
(symbols rendered to atlas texture)
deliver position via glRasterPos + glGet GL_CURRENT_RASTER_POSITION to avoid adding calculations of screen coords in many spots
solves problem: pango 1.44 switch freetype->harfbuzz = bitmap fonts aren't available, in particular no gdk_gl_font_use_pango_font()
text is rendered from font bottom (was from baseline)(latter is wanted less often)
wgl bitmap<->pango sizes do not match, thus realign all text positions, increase default font size
make 2D axes labels, view type text, sizing info adaptive to font size
#24
fixes #42
2020-05-14 07:51:34 +03:00
Garux 5fb3d587a4 use std::next instead of std::advance 2020-03-19 03:07:19 +03:00
Garux 7acdf92d50 * QE tool mouse move: highlight PlaneSelectables with alt/ctrl+alt, components in component modes
improve bestPlaneIndirect pickup (resolve, when corner is closest)
support 2d in class DragPlanes::bestPlaneIndirect
2020-03-19 00:00:28 +03:00
Garux 380d5547c5 use GlobalSelectionSystem().foreachSelected instead of GlobalSceneGraph().traverse in alt+m1 PlaneSelectable pickup 2020-03-09 06:34:28 +03:00
Garux e7b8e36db6 * DragExtrudeFaces: process with selected faces only, i.e. w/o objects selection 2020-03-09 05:53:14 +03:00
Garux 6e88e7b746 * DragExtrudeFaces: diagonal extruded brushes joints if extruding multiple faces per brush 2020-03-08 17:23:02 +03:00
Thomas Debesse 9f29864f50 lessen code duplication 2020-03-03 02:24:36 +03:00
Thomas Debesse 66e6781c9b use Instance_isSelected() function 2020-03-03 02:00:15 +03:00
Thomas Debesse 1acf0bb221 * alt + m1 2D view face vertex manipulator: use 'faces on the only best plane' pickup strategy 2020-03-03 01:57:56 +03:00