Commit Graph

3988 Commits

Author SHA1 Message Date
57385f5cf0 Added new tech ENABLE_LAYOUT_NO_RESTART -> Enable changing application layout without the need to restart it 2020-06-11 14:02:59 +02:00
9bf708a23b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-06-10 09:00:53 +02:00
59ac311237 Fixed serialization of position and size of the non modal settings dialog 2020-06-10 09:00:17 +02:00
3ad887bea1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-06-05 14:25:29 +02:00
c0216959e8 Follow-up of 4f63095d9a -> Collapse toolbar disabled by default 2020-06-05 14:25:15 +02:00
745788157f Object merge: fixed merge of the objects with changed rotation, scale and mirror
+ Fixed get_object_stl_stats()
2020-06-05 13:15:49 +02:00
f0b2d05162 Collapse toolbar moved from GLCanvas3D to Plater::priv 2020-06-05 12:33:09 +02:00
297fec4ab6 Reduced ugly copy / paste for ENABLE_OPENGL_ERROR_LOGGING 2020-06-04 15:53:58 +02:00
2146246964 Added tech ENABLE_OPENGL_ERROR_LOGGING -> log opengl errors when SLIC3R_LOGLEVEL=5 2020-06-04 14:48:52 +02:00
0a08005d70 Fixed a crash when switching from SLA to FDM with a gizmo active
If a gizmo used SupportsClipper or HollowedMesh common data, it would attempt to update from a dead SLAPrintObject
2020-06-03 16:39:12 +02:00
0a7da179eb Fix of #3919 (extremely wide wipe tower with 0.35mm FAST profile)
This is an excerpt from ec86d94, which was recently reverted because
the other changes from that commit broke some functionality.
2020-06-03 15:34:33 +02:00
b6663fdc53 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
45a8b4eae4 Fixup of previous commit 2020-06-02 14:49:40 +02:00
055d95dac4 Fixed a crash when switching between tabs
Introduced in ba963ac
2020-06-02 11:42:25 +02:00
b60a45ed37 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-06-02 10:03:00 +02:00
866a3ad357 New tech ENABLE_SMOOTH_NORMALS (disabled) -> Added two experimental functions to smooth normals using libigl (none of them working properly in detecting edges) when calling GLIndexedVertexArray::load_mesh_full_shading() 2020-06-02 10:02:50 +02:00
7072ce3db6 Copy/Paste for the Settings and Layers in the ObjectList 2020-06-01 11:11:38 +02:00
0cc4a5f8db Bugfix: Cut gizmo ignored SLA elevation and the cut ended up shifted
It is still possible to set the plane into the space under an object,
but at least it always cuts where indicated.
2020-05-28 16:15:49 +02:00
b3404fe6fb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-05-28 15:27:39 +02:00
e765cebcdd 1st installment of tech ENABLE_ENVIRONMENT_MAP 2020-05-28 15:27:29 +02:00
b77af5c0eb Save a position and size of the settings dialog
+ Added a check of the printer technology inside can_merge_to_multipart_object() => suppress merge for the SLA printing
+ clear MainFrame.cpp from unused commented code
2020-05-28 14:38:56 +02:00
b0a139c411 FDM supports gizmo: clicking the clipping plane starts painting 2020-05-28 13:10:40 +02:00
2013285040 Merge: Implemented merge to the separate object, when some instance is selected 2020-05-27 22:30:24 +02:00
ac710216de Fixes second part of #4282 (wxWidgets 3.0 compatibility) 2020-05-27 17:30:56 +02:00
ffab25560c Removed obsolete LambdaObjectDialog.cpp/hpp, more include cleanups:
BedShapeDialog.hpp (needs not include) OptionsGroup.hpp
Tab.hpp            GUI_App.hpp
2020-05-27 14:01:48 +02:00
edcaab8b0a 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
00878e21e9 Implemented merge of the objects to the one multi-part object
+ Implemented merge of the parts to the one object. But now this function doesn't used.

+ Fixed Model::looks_like_imperial_units()
2020-05-27 11:59:43 +02:00
84b151c558 Fix of #4282 (wxOVERRIDE macro not available in wxWidgets 3.0)
Now that we use C++17, there is no point in using it in PrusaSlicer codebase
2020-05-27 10:58:38 +02:00
27b3d906da EigenMesh3D does not store a copy of the mesh
Instead, it stores a pointer to extern TriangleMesh (which must not be destroyed before the EigenMesh3D object)
2020-05-27 00:51:11 +02:00
e8e004ab5e Fixed few warnings 2020-05-26 16:06:11 +02:00
c15a0d91bf Fixed unit tests after previous include manipulations 2020-05-26 15:33:44 +02:00
937af2a2ce 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
ae8772b90d Few more include chains broken 2020-05-26 13:46:59 +02:00
4fa702c570 Slight include cleanup 2020-05-26 13:45:36 +02:00
802a58cdb4 Include cleanup: GUI_ObjectManipulation.hpp, GUI, GUI_Preview 2020-05-26 13:45:36 +02:00
a8628a040c Include cleanup: do not include Model.hpp from 3DScene.hpp 2020-05-26 13:45:36 +02:00
416163fdc3 MSW specific issue: Fixed scaling of the Tabs when They are in the separated dialog 2020-05-25 10:21:30 +02:00
f331481542 Fixed a bitmap getting for the case, when application was started in Light mode and then switched to the Dark 2020-05-25 09:41:19 +02:00
7f1c593634 Added missed icons for the dark mode.
Fixed typos from the previous commit
2020-05-22 17:05:21 +02:00
09d197cdc8 Reworked sys_color_changed() functions
Fixed OSX specific bugs:
- toolbar flashing for some mainframe sizes (Retina specific)
- size of mainframe when settings layout in slNew mode

Added missed icons to the "white" folder
2020-05-22 15:26:35 +02:00
b1444cf8f0 Show Eigen vectorization support in system info dialog. 2020-05-22 11:36:10 +02:00
20c34f3980 Grey out wipe tower related config values when wipe tower is disabled 2020-05-22 09:23:26 +02:00
6b2c67c7b0 Changed processing of a wxEVT_SYS_COLOUR_CHANGED event.
Only UI is updated. The application doesn't recreated now
2020-05-21 17:29:00 +02:00
7df6be1e45 Added processing of a wxEVT_SYS_COLOUR_CHANGED event.
Deleted scale from ImGuiWrapper::load_svg(), because it's no needed and it makes icons bad scaled on Retina displays
2020-05-21 14:18:57 +02:00
abf2e8f821 Fix win build 2020-05-21 11:27:47 +02:00
a8670642ff FDM supports gizmo: fixed rendering on mirrored objects 2020-05-21 10:25:31 +02:00
335c1b2728 FDM supports gizmo: fixed a crash when trying to paint on the clipping plane 2020-05-21 10:25:31 +02:00
2165c4aefe Removed immediate OpenGL mode calls in place on face gizmo 2020-05-21 10:25:31 +02:00
7eab7f416c Removed immediate OpenGL mode calls for clipping plane rendering 2020-05-21 10:25:31 +02:00
049fc967a1 SLA supports gizmo bugfix: show supports when not in editing mode
The bug was introduced after 2.2.0 release
2020-05-21 10:25:31 +02:00