215 Commits

Author SHA1 Message Date
YuSanka
27f7a8da0f Cut WIP: Added shortcuts for "Edit connectors" ImGuiDialog
+ Added processing for the Ctrl+A ("Select All connectors")
2022-07-27 13:53:54 +02:00
YuSanka
89a7f6bdb1 Merge remote-tracking branch 'origin/ys_wx317_master' into ys_cut 2022-06-29 11:44:11 +02:00
enricoturri1966
c99e93c357 Fixed differences after rebase with master 2022-06-06 14:55:38 +02:00
enricoturri1966
f89a902bbb Tech ENABLE_WORLD_COORDINATE - Fixed translation in local coordinate for single instance selection
Fixed conflicts during rebase with master
2022-06-02 12:23:01 +02:00
enricoturri1966
ca5c04bab2 Tech ENABLE_WORLD_COORDINATE - Modified method Selection::requires_uniform_scale()
Fixed conflicts during rebase with master
2022-06-02 12:13:52 +02:00
YuSanka
e5b10ae289 Merge remote-tracking branch 'origin/master' into ys_cut 2022-03-11 15:58:14 +01:00
enricoturri1966
46283cfde3 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES renamed as ENABLE_GL_SHADERS_ATTRIBUTES 2022-03-09 08:22:07 +01:00
enricoturri1966
c17c4d2e9a Follow-up of 005fef7bf68e2e589e8ecb3de80a43aa37043ce3 - Fixed imgui dialogs associated to gizmo bar and toolbar items 2022-03-08 09:24:42 +01:00
enricoturri1966
f4726f738c Follow-up of 005fef7bf68e2e589e8ecb3de80a43aa37043ce3 - Fixed highlight arrows for gizmos bar and toolbars 2022-03-07 15:06:45 +01:00
enricoturri1966
005fef7bf6 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat_texture
2022-03-07 09:45:29 +01:00
YuSanka
8f70b6e6dc Merge remote-tracking branch 'origin/master' into ys_cut 2022-03-07 09:39:58 +01:00
Lukas Matena
a3b9d1d82f Added a comment explaining activate_gizmo return value 2022-03-03 11:47:16 +01:00
YuSanka
ba7b0839f2 Merge remote-tracking branch 'origin/master' into ys_cut 2022-02-28 13:36:10 +01:00
YuSanka
af03bed094 Cut: Implemented update_clipper() 2022-02-17 14:32:08 +01:00
YuSanka
1e5d5ae2f5 Merge remote-tracking branch 'origin/lm_cut_gizmo' into ys_cut 2022-02-16 14:00:26 +01:00
Lukas Matena
a8564bf289 Cut gizmo is now able to see clicks on the clipping plane 2022-02-16 13:42:34 +01:00
YuSanka
c45c004545 Cut: next improvements.
Rewrite GLGizmoCut3D as a new GLGizmoBase which contained GLGizmoRotation3D and GLGizmoMove3D
2022-02-16 12:37:42 +01:00
YuSanka
76784441be Cut: next UI improvements 2022-02-16 12:37:42 +01:00
Filip Sykala
0c40e2f8c8 Merge branch 'master' into fs_mouse
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
2022-02-08 10:43:29 +01:00
enricoturri1966
1a47211bfc Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Textures rendering 2022-01-28 16:50:07 +01:00
enricoturri1966
afcac6e2ea Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Refactoring of GLModel to:
1) allow for custom vertex data layout

2) allow for custom index data format

3) allow for any OpenGL primitive type
2022-01-27 12:00:51 +01:00
enricoturri1966
0e3a3aa522 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - GLGizmoPainterBase circle 2022-01-21 09:33:52 +01:00
Filip Sykala
9a9c8213cb Fix update order 2021-12-16 12:33:26 +01:00
Filip Sykala
123903f317 Clean up GLGizmoManagaer
Clean up GLGizmoBase
2021-12-10 14:58:06 +01:00
Filip Sykala
c751d6327d Separate GizmoManager on_move into gizmo itself 2021-12-10 09:09:53 +01:00
Filip Sykala
209eda75a0 remove unnecessary getting of raw pointer from unique pointer 2021-12-03 17:15:18 +01:00
Vojtech Bubnik
56f409921c Improved some string initialization and zeroing.
Assigning = "" in constructor does not make sense,
.clear() is better than = "",
default paramaeter = {} is cheaper than = ""
2021-11-19 15:34:22 +01:00
Lukas Matena
67373ca722 Changed gizmo entering/leaving string handling to make localization easier 2021-11-19 12:16:46 +01:00
enricoturri1966
9af9b9b35d Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS set as default 2021-11-16 12:39:54 +01:00
Lukas Matena
ba56a79795 Simplify gizmo now renders the volume by itself,
it does not rely on the usual GLVolume rendering. GLCanvas3D::toggle_model_object_visibility
was extended to hide a single volume. Rendering the model and wireframe uses the same
vertex buffer, which is now used through GLModel class. GLGizmoRenderTransparent class
should no longer be needed. GLCanvas3D::reload_scene calls replaced with request_rerender.
2021-11-12 06:49:09 +01:00
Lukas Matena
a01ab28e4c Fixed encoding of gizmo entering/leaving undo redo snapshots,
which was broken by adding an extra TakeSnapshot overload in 41dc265
2021-10-29 21:47:47 +02:00
enricoturri1966
e0eac1f20c Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Fixed update of sidebar object manipulation reset buttons after using place on face gizmo 2021-10-21 09:26:57 +02:00
enricoturri1966
dea188083c Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Fixed update of sidebar object manipulation reset buttons after using a gizmo 2021-10-20 12:50:21 +02:00
Filip Sykala
a9bd989eda Add [esc] to interupt preview in simplify 2021-10-18 16:47:25 +02:00
Lukáš Hejl
542ba1bb9a Added rendering of smart fill and contour around selected areas for the FDM supports painting gizmo. 2021-10-07 13:12:36 +02:00
David Kocik
29aab3a426 PrintInfoNotificationLevel with icon 2021-10-01 15:03:40 +02:00
Vojtech Bubnik
1f3b272d77 Redo of the project state, implementation of Undo/Redo stack compression 2021-09-30 12:17:39 +02:00
Filip Sykala
e3459c7c46 Add Rendering wire frame when simplify 2021-09-30 13:03:15 +02:00
David Kocik
b9dab7540e Removes bottom status bar.
StatusBar class calls are commented out and replaced with notifications.
SlicicingProgress notification shows progress of slicing, ProgressIndicator notification handles other progress information, like arrange objects etc.
2021-09-10 14:35:13 +02:00
Lukas Matena
315663980b Do not allow 'replace by stl' when a gizmo is active,
some of the gizmos might not cope well. ALso avoided
code duplication in all such cases (currently fix by
Netfabb, simplify, replace by stl).
2021-09-03 13:53:07 +02:00
Lukas Matena
a4300b8e64 Naming of the entering/leaving snapshots is now more generic,
it uses the actual name of the gizmo. Also, the keyboard shortcut
is now appended to the name, instead of being duplicated in it.
2021-09-03 13:53:07 +02:00
Lukas Matena
4c80d9ed01 Fix taking entering/leaving snapshots in SLA gizmo:
This was broken between 2.2.0 and 2.3.0. The 'entering' snapshot
should be taken before the gizmo opens, not after. Otherwise it is
in fact the same as the next snapshot.
2021-09-03 13:53:07 +02:00
David Kocik
02dd1b5f7d rendering highlight arrow from svg 2021-08-25 16:31:31 +02:00
David Kocik
8f58b11b08 Rotated arrow asset. 2021-08-19 14:01:54 +02:00
Lukas Matena
7f2ad140b6 Fix a crash recently introduced by b14faf6 (reported in #6794) 2021-08-11 22:03:26 +02:00
Lukas Matena
b14faf627b Do not show sinking contours when a gizmo hides some objects 2021-08-11 16:17:28 +02:00
Lukas Matena
9632e6fa6a New icons for mmu painting, fuzzy skin and object info items 2021-08-11 13:52:15 +02:00
Lukas Matena
85c7dea1a9 Finished concept of gizmos with no toolbar icon:
on_is_selectable and on_is_activable functions are now completely independent,
the former says if there shall be an icon in the left toolbar, the latter
says if the gizmo can be activated (by a shortcut or GLGizmoManager::open_gizmo)
2021-08-06 16:08:04 +02:00
Filip Sykala
59d02aea0a Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-02 09:04:15 +02:00
David Kocik
0d74502aeb Hint notification
Reads data from hints.ini. Has hyperlinks to highlight settings, toolbars and gizmos.
2021-07-29 13:20:50 +02:00