Commit Graph

12744 Commits

Author SHA1 Message Date
Lukas Matena
eb3b65d8af Fixing build against wxWidgets 3.0
The wxString saga continues. wxWidgets 3.0 don't have the wxString::FromUTF8(const std::string&) overload, we must use the GUI::from_u8 helper
Also wxWidgets 3.0 don't allow to disable wxString->const char* conversion, so calling show_info(wxWindow*, wxString, const char*) was ambiguous
Several includes moved around
2020-03-04 10:34:59 +01:00
Enrico Turri
436a055b39 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_canvas_manager 2020-03-04 09:39:00 +01:00
Lukas Matena
27595de1aa Merge branch 'lm_warnings' into dev 2020-03-03 16:17:55 +01:00
Lukas Matena
7589e4ebfc Fixed some more warnings 2020-03-03 15:53:26 +01:00
Lukas Matena
6918f11100 Removed SLA unused code
Mostly the dead-ends that were tried when hollowing was being implemented
2020-03-03 15:53:26 +01:00
Lukas Matena
50ebdf5293 Include cleanup in Plater, GLCanvas3D and GLGizmosManager 2020-03-03 15:53:26 +01:00
Lukas Matena
87e77e20fa Include cleanup in several files
src/slic3r/Config/Snapshot.cpp
src/slic3r/Config/Snapshot.hpp
src/slic3r/Config/Version.cpp
src/slic3r/Config/Version.hpp
src/slic3r/GUI/2DBed.cpp
src/slic3r/GUI/3DBed.cpp
src/slic3r/GUI/3DScene.cpp
src/slic3r/GUI/3DScene.hpp
src/slic3r/GUI/AboutDialog.cpp
src/slic3r/GUI/AboutDialog.hpp
src/slic3r/GUI/AppConfig.cpp
src/slic3r/GUI/BackgroundSlicingProcess.cpp
src/slic3r/GUI/BackgroundSlicingProcess.hpp
2020-03-03 15:47:02 +01:00
Lukas Matena
c70b34b6c8 Fixed several warnings
The biggest difference is changing PresetCollection::m_idx_selected from int to size_t, which fixed many warnings at once.
2020-03-03 15:47:02 +01:00
bubnikv
a87ba5d6a6 Renormalization of the camera rotation quaternion after each change
fixes degeneration of the camera rotation on long rapid rotations.
2020-03-03 13:47:10 +01:00
Enrico Turri
96f5430cee Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_canvas_manager 2020-03-03 11:10:59 +01:00
Lukas Matena
f2b98bddee Fixing wxString::Format encoding mismatches (part 3) 2020-03-03 10:54:17 +01:00
Lukas Matena
bcd3842183 Fixing wxString::Format encoding mismatches (part 2) 2020-03-03 10:54:17 +01:00
Lukas Matena
8b16b2c12e Fixing wxString::Format encoding mismatches (part 1) 2020-03-03 10:54:17 +01:00
YuSanka
a256cc9514 Fixed a width of an empty icon, which added to BitmapComboBox
Related to the #3759
2020-03-03 10:12:52 +01:00
Enrico Turri
0f90b44e3d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_canvas_manager 2020-03-03 08:34:11 +01:00
Enrico Turri
d12cc6cb77 Removed temporary debug output 2020-03-03 08:34:03 +01:00
bubnikv
aaaeafcdeb When loading installed filaments and SLA materials from PrusaSlicer.ini,
the "renamed_from" property of current profiles was not taken into account.
This lead to a situation where there were no MMU or SLA materials installed
after upgrade from PrusaSlicer 2.2.1 to 2.2. This should work now.
2020-03-02 16:15:41 +01:00
Enrico Turri
a14fe518be Fixed detection of OSX version 2020-03-02 15:55:36 +01:00
Enrico Turri
8b5a08a64a Added temporary debug output 2020-03-02 15:22:41 +01:00
Enrico Turri
3b6d334d7b ENABLE_GCODE_VIEWER - Basic framework for new gcode viewer 2020-03-02 15:13:23 +01:00
Enrico Turri
0a3555f73b Reintroduced tech ENABLE_HACK_CLOSING_ON_OSX_10_9_5 2020-03-02 14:37:01 +01:00
Enrico Turri
9e06a5e8d6 Fix build on Linux and MAC 2020-03-02 13:09:12 +01:00
tamasmeszaros
d88c073a5a Merge branch 'tm_max_bridge_len'
(This merge commit is made to force github issues displaying the commit that fixes issue 3728)
2020-03-02 13:04:25 +01:00
tamasmeszaros
090ce6ca05 Promote max_bridges_on_pillar to be a runtime parameter.
This way the user greater control over support tree branching and the amount of pillars created.

fixes #3728
2020-03-02 13:01:01 +01:00
Enrico Turri
d11548cbf9 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_canvas_manager 2020-03-02 12:45:42 +01:00
Enrico Turri
595128a90d View toolbar's initialization of icon size moved from GLCanvas3D::GLCanvas3D() to Plater::priv::priv() for OSX build 2020-03-02 12:45:04 +01:00
tamasmeszaros
e3a583292a Promote max_bridges_on_pillar to be a runtime parameter.
This way the user greater control over support tree branching and the amount of pillars created.
2020-03-02 12:43:00 +01:00
Enrico Turri
7cb92ef5e8 #3646 - Ask user whether remove from recent projects list a project no longer available 2020-03-02 12:33:17 +01:00
Enrico Turri
3f69336204 Removed tech ENABLE_HACK_CLOSING_ON_OSX_10_9_5 2020-03-02 12:13:39 +01:00
Enrico Turri
de77328320 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_canvas_manager 2020-03-02 11:42:10 +01:00
Enrico Turri
10d2193645 Fixed build on MAC 2020-03-02 11:40:35 +01:00
Enrico Turri
2f8970de86 Fixed conflicts after merge with master 2020-03-02 11:35:03 +01:00
YuSanka
7388947e1f Fix of #3739 (OSX: set width of "Editing" column
to avoid a column narrowing after a recreating of an application caused by a language changing)

+ Fix related to a bug, reported in #3617, about wrong placement of a "Purging volumes" button
translated to the some languages
2020-03-02 11:33:56 +01:00
Enrico Turri
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
bubnikv
11bd62a3e6 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-03-02 09:23:16 +01:00
bubnikv
3e722d82b2 Merge branch 'vb_camera_rotation_quaternion' 2020-03-02 09:23:00 +01:00
Lukas Matena
b95d635c4d Fixed several translated strings (fix of #3748) 2020-03-02 09:06:05 +01:00
bubnikv
c9a75bb70a Fixed localization issue of the "Removable media unmounted" message.
Generalized the Slic3r::show_info() function to std::strings and
const char*
2020-02-29 12:03:07 +01:00
bubnikv
192bdffb3f Updated printer profiles, bumped up version to 2.2.0-rc. 2020-02-29 10:53:18 +01:00
Lukas Matena
7759eccf56 Fix of dark mode detection on macOS 10.12 and 10.13 2020-02-28 15:28:04 +01:00
bubnikv
0a0219961b Free rotating camera reworked to rotate around the free rotation
axis in a single step.
2020-02-28 14:59:59 +01:00
bubnikv
b6068b6278 Camera refactored to use quaternions primarily for processing
rotations due to numerical reasons (no need for normalization
and orthogonalization of the rotation matrix).
2020-02-28 13:29:05 +01:00
Enrico Turri
dff9af20a4 Follow-up of 47604b6326 -> Fixed layout at startup 2020-02-28 11:19:46 +01:00
lee hakmin
1ec02079f5
Update PrusaSlicer.po 2020-02-28 10:23:57 +09:00
lee hakmin
730966a07f
Update PrusaSlicer.po 2020-02-28 10:04:41 +09:00
lee hakmin
503739e2d4
Add files via upload 2020-02-28 09:47:53 +09:00
Lukas Matena
03f17a13e7 Bugfix: SLA pad and supports were sometimes shown on instances that should have been hidden
The showing/hiding block cannot depend on whether the mesh was recently updated.
It would then not hide the supports and pad, which are calculated later than the hollowed mesh.
2020-02-27 17:58:27 +01:00
bubnikv
7c55674220 Disabled implicit conversion of wxString to std::string or const char*
and vice versa. Fixed one last implicit wxString conversion.
2020-02-27 17:02:08 +01:00
Lukas Matena
27f50778b2 Localization: Updated POT, new dictionaries for CZ, DE, ES, FR, IT, JA and PL 2020-02-27 15:47:15 +01:00
Enrico Turri
5ca4698400 Reduce max texture size if physical ram is smaller than 6GB 2020-02-27 15:38:35 +01:00