19c4f32604
Preset and PresetBundle are moved to the _libslic3r_ folder
2020-06-16 17:03:06 +02:00
2cc1dffc82
Fix of several issues related to gizmos updating and undo/redo
...
Common gizmos data cannot be used in on_set_state method
Also prevented calling render on empty GLVertexArrays
2020-06-03 15:33:39 +02:00
48c186331a
Includes cleanup:
...
GUI_App.hpp (should not include) MainFrame.hpp
MainFrame.hpp Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp PrintConfig.hpp
FillBase.hpp PrintConfig.hpp
GUI_App.hpp PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
94b0ab603f
Include cleanup: Selection.hpp
...
It does not need 3DScene.hpp and Model.hpp
And it does not to be included by GLGizmoBase.hpp
2020-05-26 13:46:59 +02:00
9487676680
ENABLE_CANVAS_TOOLTIP_USING_IMGUI set as default
2020-05-15 13:40:45 +02:00
b9f0b9eeda
ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX set as default
2020-05-15 12:42:29 +02:00
b046eb4fc9
Merge branch 'master' into lm_fdm_custom_supports_polishing
2020-05-11 17:03:03 +02:00
0bb56736a1
Tech ENABLE_NON_STATIC_CANVAS_MANAGER set as default
2020-05-06 12:19:34 +02:00
272de22055
Undo/redo in FDM supports gizmo
2020-05-05 13:45:04 +02:00
3e15d22f35
Fixed a crash when switching to Preview
2020-04-08 17:22:30 +02:00
4d8e6538e8
FDM supports gizmo - use right mouse to place support blockers
2020-04-08 14:59:53 +02:00
fe57826695
Improved the FDM supports gizmo dialog
...
Removed unused code
Fixed a clipping-plane related crash
Fixed a crash in hollowing gizmo when no hollowed mesh was provided
Forbid opening the gizmo when a part of an object is selected
2020-04-08 09:37:49 +02:00
17811598ac
Fixed obvious merge conflicts
...
FDM supports gizmo uses the new common data infrastructure
2020-04-07 19:44:29 +02:00
a380053a17
Merge branch 'lm_gizmos' into lm_fdm_supports_gizmo
2020-04-07 17:16:48 +02:00
1d65ce760b
Removed obsolete code
...
Got rid of dummy header GLGizmos.hpp
2020-04-07 16:47:39 +02:00
535a27de65
Fixed crash related to ClippingPlane and incorrect handling of sla z shift in hollowing gizmo
2020-04-07 16:47:39 +02:00
c704849a7a
SLA supports gizmo is now enabled and uses the new infrastructure
2020-04-07 16:47:39 +02:00
5d4014a4a5
ObjectClipper implementation, hollowing gizmo reenabled
...
ObjectClipper tracks active mesh (incl. possible hollowing), remembers clipping plane position and can render the cut on demand
Hollowing gizmo uses the new infrastructure
2020-04-07 16:45:16 +02:00
3db3a61520
InstancesHider implementation
...
Any gizmo can now ask for hiding all but the active instance by returning proper value from on_get_requirements
2020-04-07 16:39:06 +02:00
593e7a1546
Flattening gizmo now uses the new CommonDataPool to store pointer to active object
2020-04-07 16:35:52 +02:00
3b06332999
Common gizmos data are now handled by the CommonGizmosDataPool object
2020-04-07 16:35:52 +02:00
7c4071c541
Disabled the SLA gizmos
2020-04-07 16:35:52 +02:00
f12b39be25
Fixed conflicts after merge with master
2020-03-25 14:41:47 +01:00
fac28ea27a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_bug_fixes
2020-03-25 09:34:17 +01:00
3990598f01
Fixed build when ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX is disabled
2020-03-25 09:33:59 +01:00
c300b66b7e
ENABLE_MODIFIED_GIZMOBAR_MOUSE_EVENT_HANDLING merged into ENABLE_CANVAS_TOOLTIP_USING_IMGUI
2020-03-25 09:05:35 +01:00
97b9de47b4
Merge branch 'master' into dev
2020-03-24 21:51:05 +01:00
2501cf64c0
Modified mouse events handling for gizmobar
...
The gizmobar was consuming the mouse up event preventing the gizmos to update their tooltip
The gizmobar was also consuming the mouse dragging event transforming a gizmo manipulation into a scene rotation
2020-03-19 14:05:49 +01:00
08daddb5de
WIP: First working implementation of the triangle selector for the FDM support gizmo
2020-03-19 11:15:17 +01:00
7afe7326b6
WIP: Duplicated the SLA gizmo for the FDM, removed what was not needed
...
Clipping plane and the m_model_object pointer keeping was duplicated
2020-03-19 11:15:17 +01:00
ffe404fc5b
Fixed gizmos' tooltips
2020-03-16 12:45:39 +01:00
e547a0c3d1
Fix of a rare crash on opening an SLA gizmo (supports or hollow)
2020-03-13 15:58:59 +01:00
50ebdf5293
Include cleanup in Plater, GLCanvas3D and GLGizmosManager
2020-03-03 15:53:26 +01:00
2f8970de86
Fixed conflicts after merge with master
2020-03-02 11:35:03 +01:00
0b629eb905
GLCanvas3DManager moved from being a static member of _3DScene to be a normal member of GUI_App
2020-03-02 10:58:46 +01:00
08a6c86326
Slight change in clipping plane updating after hollowing finishes
...
The clipping plane in SLA gizmos is only moved in case that the gizmo is currently active and hollowing is actually enabled.
2020-02-27 15:18:15 +01:00
5a2da9597b
Shared data for SLA gizmos have been removed from GLGizmoBase
...
This commit introduces no functional changes, only code-shuffling
2020-02-27 15:18:15 +01:00
b2b2574244
Fixed a crash when deleting an object after switching from SLA to FDM
2020-02-27 15:18:15 +01:00
4df6a645f2
AABB trees for SLA gizmos are not calculated when the object is selected, but only after one of the gizmos is opened
2020-02-21 09:46:40 +01:00
b0218daafe
ENABLE_MODIFIED_TOOLBAR_TEXTURES set as default
2020-02-13 09:50:06 +01:00
79ce691d58
Don't calculate the AABB tree in FDM mode
2020-02-08 17:17:51 +01:00
3c23917e9e
SLA gizmos: make sure that the clipping plane is properly reset to zero when the shown meshes are exchanged
2020-02-06 14:46:02 +01:00
87daba9288
Movements and rotations by keyboard indipendent from gizmos:
...
Left arrow = Decrease X by 1mm
Right arrow = Increase X by 1mm
Up arrow = Decrease Y by 1mm
Down arrow = Increase Y by 1mm
PgUp = Rotate 45 degrees CCW
PgDown = Rotate 45 degrees CW
2020-02-04 11:42:58 +01:00
648060f4ec
Smoother movements/rotations when using arrow keys
2020-02-04 10:31:50 +01:00
3371fa42da
Follow-up of e042cab8fa -> Avoid polluting undo/redo stack
2020-02-04 09:32:09 +01:00
e042cab8fa
Follow-up of 8453c88482, c09091c407 and 9d55121695 -> Use key down event in place of key up event
2020-02-03 16:05:13 +01:00
a1d4dab999
Merge branch 'master' into lm_drilling_backend_rebased
2020-02-03 15:20:16 +01:00
8453c88482
Cut Gizmo -> added movements using arrow keys:
...
Up arrow = increase Z by 1mm
Down arrow = decrease Z by 1mm
2020-02-03 15:00:49 +01:00
c09091c407
Rotate Gizmo -> added rotations using arrow keys:
...
Left arrow = 90 degrees around Z axis CCW
Right arrow = 90 degrees around Z axis CW
Up arrow = 45 degrees around Z axis CCW
Down arrow = 45 degrees around Z axis CW
2020-02-03 14:51:25 +01:00
9d55121695
Move Gizmo -> added movements using arrow keys:
...
Left arrow = decrease X by 1mm
Right arrow = increase X by 1mm
Up arrow = increase Y by 1mm
Down arrow = decrease Y by 1mm
2020-02-03 14:39:16 +01:00