Commit Graph

19109 Commits

Author SHA1 Message Date
YuSanka
89a7f6bdb1 Merge remote-tracking branch 'origin/ys_wx317_master' into ys_cut 2022-06-29 11:44:11 +02:00
YuSanka
3d03ef015f OSX specific: Fixed a warning 2022-06-27 16:40:02 +02:00
Lukáš Hejl
0bc707e540 Tried to disable EGL. 2022-06-27 16:40:01 +02:00
tamasmeszaros
40afbe6371 Update to GLEW 2.2 to prevent initialization crash with wx >= 3.1.6
Revert "Revert to GLEW 2.1 as most Linux distros as using that"

This reverts commit 46c8f82f24.
2022-06-27 16:40:01 +02:00
YuSanka
b6e6be27c0 wxWidgets.cmake: Changed url and SHA to use next commit in our wxWidgets patch 2022-06-27 16:40:01 +02:00
YuSanka
ae08819a24 Using of wxWidgets 3.1.6 WIP: Linux/OSX specific fixes
OSX specific: Fixed get_mouse_position_in_control().
+ Use GetItemRect() to calculation of the position and size for Extruder selector

Linux specific:
* Use just 1.0 scale for wxBitmapComboboxes under GTK3 and gtk3
* GTK2 specific: use GTK2 doesn't suppost get_scale, so scale bitmap size form em_unit()
2022-06-27 16:40:01 +02:00
YuSanka
dd6f7a71f1 Using of wxWidgets 3.1.6 WIP:
* Create Cache of wxBitmapBundles instead of wxBitmaps
* Use wxBitmapBundles instead of wxBitmap for most of Widgets
* Use empty bitmabundles instead of wxNullBitmap for wxBitmapComboBoxes.
* Updated wxWidgets.cmake
* OSX specific: Discard BitmapComboBox overrides
+ some code cleaning
2022-06-27 16:40:01 +02:00
YuSanka
2ab64819aa Fixes to support wxWidgets 3.1.6(7) 2022-06-27 16:40:01 +02:00
tamasmeszaros
76ea74c289 Update wxWidgets to 3.1.7
added handling for nanosvg with cmake
2022-06-27 16:40:01 +02:00
YuSanka
d81009c6ce Follow-up 56466abe99# - Fixed a Search in the Preferences options
+ Preferences dialog: Deleted unused variable 'reverted'
2022-06-27 11:10:33 +02:00
Lukas Matena
27a18065b3 Added possibly missing includes 2022-06-20 14:48:30 +02:00
enricoturri1966
63890b5f8d Do know allow picking while dragging gizmos 2022-06-20 13:58:06 +02:00
Lukas Matena
570b43941e Fixed title label when run as G-Code Viewer:
Builds that were not tagged and contained number of commits since last tag
showed "-UNKNOWN" in the title bar, even when they went through the build server
2022-06-17 12:58:24 +02:00
Lukas Matena
4079eac29a Fixed a failing assert in BuildVolume.cpp 2022-06-16 16:35:06 +02:00
YuSanka
84ec233734 Follow-up d0b4a4a87d - Preferences Dialog:Set flag m_settings_layout_changed to false,
when CANCEL button was pushed.
2022-06-16 12:59:33 +02:00
enricoturri1966
db31995310 Allow drag and drop on files into PrusaSlicer no matter which is the current selected tab 2022-06-16 11:12:45 +02:00
rtyr
9fc47b9c3a
Added Infinity3D bundle.
https://github.com/prusa3d/PrusaSlicer/pull/8396
2022-06-14 12:44:25 +02:00
enricoturri1966
040a8467bd #8401 - Show error message when trying to import invalid 3mf 2022-06-14 12:17:15 +02:00
Vojtech Bubnik
91a5ceb1dd OSX specific: Fixing opening of G-codes by drag & dropping of G-code
on slicer icon in case slicer is not yet running.
2022-06-13 15:44:43 +02:00
Lukáš Hejl
dba1179708 Fixed an issue when the Lightning infill stuck in an infinite loop on some models.
Cased by two sampled points closer than chosen spacing.
2022-06-10 15:25:04 +02:00
Lukáš Hejl
5d82c1601b Fixed an unintentional transformation of ExPolygon to a single vector containing all points from contour and all holes in the Lightning infill.
This was causing most of the issues with randomly generated infill hanging in the air without any support.
2022-06-09 14:49:45 +02:00
Lukáš Hejl
89f467a488 Fixed undefined symbols when mold linker was used for linking libnest2d_tests and sla_print_tests. 2022-06-09 10:57:30 +02:00
Lukáš Hejl
46ade54937 Backported a fix from Clipper 6.4.2 for the issue that Clipper Z coordinated has incorrect value because ZFillFunction wasn't called in all cases (https://sourceforge.net/p/polyclipping/bugs/160/). Also, this issue led to duplicity vertices with the same XY coordinates but differ in Z coordinates. 2022-06-09 09:22:40 +02:00
enricoturri1966
b42e4b2927 GLTexture - Use BitmapCache::nsvgParseFromFileWithReplace() in place of nsvgParseFromFile() to load images from files 2022-06-08 13:12:29 +02:00
tamasmeszaros
f11f216f91 Merge branch 'tm_fix_astar_msvc' 2022-06-07 16:20:17 +02:00
tamasmeszaros
86ebe946d9 Make AStar use InvalidQueueID constant 2022-06-07 16:08:09 +02:00
tamasmeszaros
4f8535d0d5 Move out invalid_id constant from MutablePriotityQueue template class
Enclose it into Slic3r namespace
2022-06-07 16:05:16 +02:00
enricoturri1966
db8a120953 Merge remote-tracking branch 'origin/et_trafo_matrix_rebase' 2022-06-06 14:59:03 +02:00
enricoturri1966
904e3a874e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_trafo_matrix_rebase 2022-06-06 14:57:09 +02:00
enricoturri1966
c99e93c357 Fixed differences after rebase with master 2022-06-06 14:55:38 +02:00
enricoturri1966
00878fb330 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES merged into ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-06 13:36:29 +02:00
enricoturri1966
f591535d20 Removed tech ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET 2022-06-06 12:44:01 +02:00
enricoturri1966
4846b504a2 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Improved detection and removal of skew in matrices
Fixed conflicts during rebase with master
2022-06-06 12:43:42 +02:00
enricoturri1966
b76f9fc2ee Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Scaling using object manipulator fields
Fixed conflicts during rebase with master
2022-06-06 12:38:20 +02:00
enricoturri1966
3b3edb5a97 Fixed build and warnings on Linux and Mac
Fixed conflicts during rebase with master
2022-06-06 12:22:42 +02:00
enricoturri1966
e3d648c802 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reoworked calculation of volume matrix for newly added modifiers and parts
Fixed conflicts during rebase with master
2022-06-06 12:16:17 +02:00
enricoturri1966
2602c6bf92 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Implemented reset skew button for the case when volume world matrix contains skew while volume and instance matrices do not
Fixed conflicts during rebase with master
2022-06-06 12:07:45 +02:00
enricoturri1966
e4fb142afc Tech ENABLE_WORLD_COORDINATE_SCALE_REVISITED merged into tech ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-06 12:01:44 +02:00
enricoturri1966
ebb9a4aadb Tech ENABLE_WORLD_COORDINATE_SHOW_AXES merged into tech ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-06 11:39:15 +02:00
enricoturri1966
7c86cf84a3 Tech ENABLE_COORDINATE_DEPENDENT_SELECTION_BOX merged into tech ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-06 10:53:26 +02:00
enricoturri1966
882a5ffec5 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Fixed uniform scale using object manipulator panel
Fixed conflicts during rebase with master
2022-06-06 10:22:05 +02:00
enricoturri1966
9062a74c5c Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Fixed scale reset 2022-06-06 10:18:04 +02:00
enricoturri1966
9efeb0b9e5 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Fixed missing update of object manipulator panel after selecting an object in the 3D scene 2022-06-06 10:18:04 +02:00
enricoturri1966
243985173e Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Allow for relative rotations only when using the object manipulator panel 2022-06-06 10:18:04 +02:00
enricoturri1966
3fcfd04921 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Fixed translation of volumes in local coordinate system
Fixed conflicts during rebase with master
2022-06-06 10:17:43 +02:00
enricoturri1966
fd45d0eeed Tech ENABLE_WORLD_COORDINATE_SHOW_AXES - Fixed bed axes visualization 2022-06-06 10:00:53 +02:00
enricoturri1966
19712749c3 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Added reset button to remove skew, when detected, in object manipulator panel
Fixed conflicts during rebase with master
2022-06-06 10:00:28 +02:00
enricoturri1966
eeb81b1ef8 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Let reset buttons in object manipulator to be always visible when needed, no matter what is the current selected reference system 2022-06-06 09:54:46 +02:00
enricoturri1966
88ce6ccdef Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void Selection::scale(const Vec3d& scale, TransformationType transformation_type) to use matrix multiplication
Fixed conflicts during rebase with master
2022-06-06 09:54:19 +02:00
enricoturri1966
b5d366d385 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Allow skew in matrices
Fixed conflicts during rebase with master
2022-06-06 09:07:50 +02:00