Commit Graph

3982 Commits

Author SHA1 Message Date
enricoturri1966
59ac311237 Fixed serialization of position and size of the non modal settings dialog 2020-06-10 09:00:17 +02:00
Vojtech Bubnik
297fec4ab6 Reduced ugly copy / paste for ENABLE_OPENGL_ERROR_LOGGING 2020-06-04 15:53:58 +02:00
enricoturri1966
2146246964 Added tech ENABLE_OPENGL_ERROR_LOGGING -> log opengl errors when SLIC3R_LOGLEVEL=5 2020-06-04 14:48:52 +02:00
Lukas Matena
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
Lukas Matena
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
Lukas Matena
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
Lukas Matena
45a8b4eae4 Fixup of previous commit 2020-06-02 14:49:40 +02:00
Lukas Matena
055d95dac4 Fixed a crash when switching between tabs
Introduced in ba963ac
2020-06-02 11:42:25 +02:00
enricoturri1966
b60a45ed37 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-06-02 10:03:00 +02:00
enricoturri1966
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
YuSanka
7072ce3db6 Copy/Paste for the Settings and Layers in the ObjectList 2020-06-01 11:11:38 +02:00
Lukas Matena
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
enricoturri1966
b3404fe6fb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-05-28 15:27:39 +02:00
enricoturri1966
e765cebcdd 1st installment of tech ENABLE_ENVIRONMENT_MAP 2020-05-28 15:27:29 +02:00
YuSanka
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
Lukas Matena
b0a139c411 FDM supports gizmo: clicking the clipping plane starts painting 2020-05-28 13:10:40 +02:00
YuSanka
2013285040 Merge: Implemented merge to the separate object, when some instance is selected 2020-05-27 22:30:24 +02:00
Lukas Matena
ac710216de Fixes second part of #4282 (wxWidgets 3.0 compatibility) 2020-05-27 17:30:56 +02:00
Lukas Matena
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
Lukas Matena
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
YuSanka
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
Lukas Matena
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
Lukas Matena
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
Lukas Matena
e8e004ab5e Fixed few warnings 2020-05-26 16:06:11 +02:00
Lukas Matena
c15a0d91bf Fixed unit tests after previous include manipulations 2020-05-26 15:33:44 +02:00
Lukas Matena
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
Lukas Matena
ae8772b90d Few more include chains broken 2020-05-26 13:46:59 +02:00
Lukas Matena
4fa702c570 Slight include cleanup 2020-05-26 13:45:36 +02:00
Lukas Matena
802a58cdb4 Include cleanup: GUI_ObjectManipulation.hpp, GUI, GUI_Preview 2020-05-26 13:45:36 +02:00
Lukas Matena
a8628a040c Include cleanup: do not include Model.hpp from 3DScene.hpp 2020-05-26 13:45:36 +02:00
YuSanka
416163fdc3 MSW specific issue: Fixed scaling of the Tabs when They are in the separated dialog 2020-05-25 10:21:30 +02:00
YuSanka
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
YuSanka
7f1c593634 Added missed icons for the dark mode.
Fixed typos from the previous commit
2020-05-22 17:05:21 +02:00
YuSanka
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
Vojtech Bubnik
b1444cf8f0 Show Eigen vectorization support in system info dialog. 2020-05-22 11:36:10 +02:00
Lukas Matena
20c34f3980 Grey out wipe tower related config values when wipe tower is disabled 2020-05-22 09:23:26 +02:00
YuSanka
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
YuSanka
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
Lukas Matena
abf2e8f821 Fix win build 2020-05-21 11:27:47 +02:00
Lukas Matena
a8670642ff FDM supports gizmo: fixed rendering on mirrored objects 2020-05-21 10:25:31 +02:00
Lukas Matena
335c1b2728 FDM supports gizmo: fixed a crash when trying to paint on the clipping plane 2020-05-21 10:25:31 +02:00
Lukas Matena
2165c4aefe Removed immediate OpenGL mode calls in place on face gizmo 2020-05-21 10:25:31 +02:00
Lukas Matena
7eab7f416c Removed immediate OpenGL mode calls for clipping plane rendering 2020-05-21 10:25:31 +02:00
Lukas Matena
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
Lukas Matena
2e7c455ff0 FDM supports gizmo uses neighbor data from stl_file 2020-05-21 10:25:31 +02:00
YuSanka
45006f6e0d Implemented "from/to imperial units conversation" for loaded objects and volumes 2020-05-20 20:07:31 +02:00
YuSanka
936317d99f Typo fix for the commit fce1943b94 2020-05-19 18:23:39 +02:00
YuSanka
89255d2c9c OSX specific bug fixing 2020-05-19 17:00:41 +02:00
Lukas Matena
f4a42192f2 FDM supports gizmo: slight code refactoring 2020-05-18 16:08:21 +02:00
Lukas Matena
7e75103c4a FDM supports gizmo: Further attempts to increase performance when painting 2020-05-18 16:08:21 +02:00