YuSanka
f73976ec8f
Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev
2019-09-03 10:29:29 +02:00
YuSanka
c960c2cf27
Code clean in Tab.cpp and Fixed couple of Mac-warnings in :
...
GUI.cpp
GUI_App.cpp
GUI_ObjectList.cpp
MainFrame.hpp
Plater.cpp
PresetBundle.cpp
PresetHints.cpp
Tab.cpp
Tab.hpp
wxExtensions.cpp
wxExtensions.hpp
2019-09-03 10:29:17 +02:00
Lukas Matena
fd47891793
GLGizmoSlaSupports.cpp: Snapshot label now differs for turning the gizmo on/off
...
This behaviour was broken by recent merge
2019-09-03 10:16:06 +02:00
Lukas Matena
b89d9c7aff
Merge branch 'lm_gizmomanagerrefactoring' into dev
2019-09-03 08:29:31 +02:00
YuSanka
9e73674578
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-09-02 16:49:41 +02:00
YuSanka
ac4730bc7e
Fix of SPE-1015 (Colorchange doesn't work correct on last and first layers)
2019-09-02 16:49:17 +02:00
Lukas Matena
7d54b04699
Merge branch 'lm_wiping_dialog_colors' into dev
2019-09-02 16:31:22 +02:00
Lukas Matena
9ac6909d30
Fixed couple of warnings in GUI_ObjectList.cpp and GUI_ObjectSettings.cpp
2019-09-02 16:27:48 +02:00
Lukas Matena
942f959e87
Fixed couple of warnings
...
Turned several includes into forward declarations
Removed several sprintf calls in favor of std::to_string
2019-09-02 16:27:48 +02:00
Enrico Turri
0dfeee6caf
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-09-02 15:15:36 +02:00
Enrico Turri
d0513fc2da
Fixed update of application's title bar when trying to import a non compatible .3mf or .amf project
2019-09-02 15:15:28 +02:00
YuSanka
fdb51912c2
Fixed SPE-1014 (Support settings in context menu for modifier)
2019-09-02 14:44:00 +02:00
Lukas Matena
19ab746a38
Merge branch 'master' into lm_gizmomanagerrefactoring
2019-09-02 14:31:03 +02:00
Lukas Matena
d8a274c5ab
Nearly finished refactoring of GLGizmoManager
2019-09-02 14:30:15 +02:00
Lukas Matena
409a7c7734
SLA gizmo open/close should be saved on undo/redo stack
2019-09-02 14:30:15 +02:00
Lukas Matena
b6d35c9840
Started an attempt to refactor GLGizmoManager
2019-09-02 14:30:12 +02:00
YuSanka
dba5dd36f7
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-09-02 14:02:47 +02:00
YuSanka
94712544aa
Fix for #2845
...
+ Fixed get_config_value for coFloatOrPercent (percent mode allow non-just-int values)
2019-09-02 14:02:26 +02:00
bubnikv
1e5a14a06c
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-09-02 11:47:23 +02:00
bubnikv
206dbb81c7
Fix of "Extra overhanging perimeters are added in 2.1.0-beta3" #2857
...
Two bugs were fixed:
1) An entry in the GLVolume index was not always created when it should
have been.
2) Removing empty volumes from the list of GLVolumes did not update
the GLVolume index. This is an old issue, but it likely surfaced
now with the introduction of splitting the large GLVolumes
into multiple shorter ones.
2019-09-02 11:47:11 +02:00
YuSanka
107bb1a308
Fix of #2850
2019-09-02 10:53:07 +02:00
YuSanka
82f89229a9
Fixed side effect after changes in 54cf0f22d5
...
+ Code cleaning
2019-09-02 10:06:19 +02:00
bubnikv
eb458163e3
Fixing stack overflow issues when slicing in SLA mode:
...
The BackgroundSlicingProcess thread will now have the same stack size
allocated as the TBB worker threads:
4MB on 64bit systems and 2MB on 32bit systems.
2019-08-30 17:57:53 +02:00
bubnikv
ae3a72d291
Fixed menu icons for undo / redo.
2019-08-30 16:05:12 +02:00
bubnikv
018311e668
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-30 14:13:59 +02:00
bubnikv
931b20e43c
Fix for wxWidgets issue, where the FindLanguageInfo() returns locales
...
with undefined ANSII code (wxLANGUAGE_KONKANI or wxLANGUAGE_MANIPURI).
2019-08-30 14:13:47 +02:00
Enrico Turri
f1f1b515cd
Fixed update of both canvas when compressed bed textures have been completely sent to gpu
2019-08-30 14:10:59 +02:00
Enrico Turri
f26d5effd9
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-30 10:33:38 +02:00
Enrico Turri
bb65ad6f2c
Do not apply out of bed detection for non printable volumes
2019-08-30 10:33:21 +02:00
bubnikv
4d224b1b82
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-30 10:20:50 +02:00
bubnikv
9dda1f10a2
Updated the initial language detection to provided some logging.
2019-08-30 10:20:38 +02:00
Enrico Turri
beed31ad58
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-30 09:35:50 +02:00
Enrico Turri
54cf0f22d5
Fixed missing printable icon for 1st instance in objects list when opening a project containing objects with multiple instances
2019-08-30 09:35:34 +02:00
bubnikv
3d8f3116c1
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-30 09:20:14 +02:00
bubnikv
b305a6b37e
Fix of 2.1.0-beta2 Linux AppImage - OpenGL detection fails #2844
...
The OpenGL check was moved to GLCanvas3DManager init function,
where the OpenGL context is active at the 1st render event.
2019-08-30 09:19:45 +02:00
Enrico Turri
a8f7bb54a5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-29 15:38:43 +02:00
Enrico Turri
05c4976232
Do not automatically start slicing when switching to gcode preview if the Slice Now button is disabled
2019-08-29 15:38:21 +02:00
bubnikv
78697b2acf
Improvement of selection of language / dictionaries.
...
When switching the languages, if the newly selected dictionary
is "compatible" with the system best language or user's locale,
then the system best language locale or user's locale is activated,
not the locale connected to the dictionary.
2019-08-29 15:35:28 +02:00
bubnikv
ace275af7f
std::make_unique is not supported by our build servers.
...
use Slic3r::make_unique instead
2019-08-29 14:51:24 +02:00
bubnikv
468abfefbc
Reworked selection of locales and translation dictionaries.
...
Slicer now tries to heed user's locales, also it tries to switch
to the language recommended by the operating system (Windows & OSX
specific).
2019-08-29 14:07:45 +02:00
Lukas Matena
350b7cbe04
Fixed out-of-bounds access when adding a colorchange before the first layer
...
Fixed several signedness related warnings
2019-08-29 12:03:42 +02:00
bubnikv
885ff11d4c
Update of "Volumes in Objects reordered" undo / redo message
2019-08-29 11:16:14 +02:00
bubnikv
3ba144bfe5
Removed Selection-Add Volumes, Selection-Add Volume,
...
Selection-Remove Volume, Selection-Remove Volumes
from taking snapshots, therefore from localizations.
2019-08-29 10:43:26 +02:00
bubnikv
8865c4b685
Plurals for number of Undo / Redo actions.
2019-08-28 16:19:46 +02:00
bubnikv
2b7a4973a8
Reworded the "Add / remove instance / set number of instances".
2019-08-28 15:35:01 +02:00
bubnikv
048ed74318
Another round of translation adjustments.
2019-08-28 15:12:55 +02:00
bubnikv
5b6b3e865d
Merge remote-tracking branch 'remotes/origin/master' into vb_locales
2019-08-28 13:24:24 +02:00
bubnikv
a1ebb8d483
Don't delete old locales when switching language. It crashes for
...
an unknown reason.
2019-08-28 13:23:58 +02:00
bubnikv
002ae9a4bf
Slovaks understand Czech well. Give them the Czech translation.
2019-08-28 11:59:30 +02:00
bubnikv
9e406e4214
Reworked switching of the language:
...
1) Language is
2019-08-28 11:53:53 +02:00
tamasmeszaros
c2b9980488
Mirror pad_around_object for 'Pad' page on 'Supports' page
2019-08-28 11:33:04 +02:00
Enrico Turri
19f6d87689
Follow-up of 97473439cf
-> Further output size reduction
2019-08-28 11:06:30 +02:00
bubnikv
cd35fd9b34
Refreshed the dictionaries.
...
Introduced a new localization macro L_CONTEXT(string, context)
to define context dependent translations.
The only strings - "Top" and "Bottom" were already using context, but
until now the context had to be added to the PrusaSlicer.pot file
manually, while the context is being generated automatically now.
2019-08-27 17:14:03 +02:00
Enrico Turri
b8bd362553
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-27 16:05:47 +02:00
Enrico Turri
97473439cf
Export toolpaths to obj -> Reduced size of output
2019-08-27 16:05:38 +02:00
YuSanka
aed072cc4d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-27 16:02:29 +02:00
YuSanka
9730ec6fff
Small LayersRange UI improvements
2019-08-27 16:02:15 +02:00
bubnikv
9f0933ba6e
Fixed regression issue in G-code preview since 2.1.0-beta2:
...
Excessive amount of memory was pre-allocated for G-code preview
by volumetric speed.
2019-08-27 15:55:53 +02:00
bubnikv
e0e12063bf
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-27 13:39:58 +02:00
bubnikv
6a2228fc21
Don't localize debugging texts.
2019-08-27 13:39:47 +02:00
Lukas Matena
4992b8f749
ConfigManipulation.cpp: Fixed couple of memory leaks due to heap-allocated wxMessageDialogs that were never freed
2019-08-27 13:27:11 +02:00
bubnikv
86b2817da5
Fix of a regression issue since ee38d80318
...
1) load object
2) Switch FFF to SLA or vice versa
3) Undo -> Crash
Fixed by deselecting the side panel before loading profiles
of the other technology.
2019-08-27 12:15:29 +02:00
bubnikv
3dff253b64
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-27 11:49:52 +02:00
bubnikv
faf7a1d789
Reworderd undo / redo tooltips
2019-08-27 11:49:46 +02:00
bubnikv
1e11eab620
Improved wording of some UI texts and tooltips.
2019-08-27 11:39:51 +02:00
Vojtech Kral
8b7f0c5359
Refactor a few more catch(...)
instances
2019-08-27 10:37:34 +02:00
Vojtech Kral
f9184f3564
PresetBundle: Add print_host to options considered security-sensitive
...
full_config_secure() now also removes print_host option
alongside printhost_apikey and printhost_cafile.
2019-08-27 10:37:34 +02:00
Vojtech Kral
4edae08a11
UpdateDialogs: Fix: Wrap update description
2019-08-27 10:37:34 +02:00
YuSanka
a1f34adcf6
Fix of #2821
2019-08-27 09:31:19 +02:00
bubnikv
80490550b5
Optimization of the tool path preview generation algorithm:
...
1) Replaced linear search with logarithmic search.
2) Templated the travel path generation, replaced 3 functions with one.
2019-08-26 15:52:56 +02:00
bubnikv
66535b41d5
Time optimization of GLCanvas3D::_travel_paths_by_feedrate()
2019-08-26 11:41:25 +02:00
bubnikv
85d9a16563
Fixed a bug, where the GL context was not being activated with _set_current()
...
as _set_current() tested for visibility of the window on the screen.
Improved memory management by:
1) Allocating small (around 3MB) vertex buffers to be sent to the GPU.
2) Passing the small vertex buffers to the GPU as quickly as possible.
A bit of copy / paste refactoring into common functions.
2019-08-26 11:12:48 +02:00
Enrico Turri
7f589e79f7
Follow-up of 32dc4709a4
-> A more general fix
2019-08-26 09:06:21 +02:00
YuSanka
ed2bad6709
Unified calculation of icon size for preset BitmapComboBox
2019-08-25 10:31:18 +02:00
YuSanka
ea2e07ec74
Fixed application crash, when change focus from overridden option to empty space in ObjectList.
2019-08-25 09:44:32 +02:00
YuSanka
097e7a12ae
Fixed layout of extruder color icon
2019-08-24 15:42:41 +02:00
bubnikv
29a51bc46f
Updated bundled Prusa3d profiles
...
Bumped up the version to 2.1.0-beta, changed the user configs directory
to PrusaSlicer-beta.
2019-08-23 16:15:03 +02:00
bubnikv
04d6cfe8de
Merge remote-tracking branch 'remotes/origin/ys_update_settings'
2019-08-23 16:08:24 +02:00
YuSanka
8f019e5fa9
Set bigger scroll step for sidebar
2019-08-23 16:05:18 +02:00
bubnikv
a0a82b1d8b
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-23 15:53:51 +02:00
bubnikv
6adebb9c78
When synchronizing the front end with the back end after Undo / Redo
...
jump, postpone error messages, so they are displayed after
the Undo / Redo jump has been fully performed.
Otherwise there would be a message box opening, taking over the message
queue, and possibly performing actions as rendering on an inconsistent
application state.
2019-08-23 15:53:45 +02:00
YuSanka
90096e2c8b
Fixed assert on Linux
2019-08-23 15:32:47 +02:00
YuSanka
6b4f6f43dd
Merge remote-tracking branch 'origin/master' into lm_wiping_dialog_colors
2019-08-23 14:27:25 +02:00
YuSanka
6dbba8dbb0
Added missed include for OSX build
2019-08-23 13:58:12 +02:00
bubnikv
bb6cde789d
Fix of a missing parameter.
2019-08-23 13:44:07 +02:00
bubnikv
12cb930634
A little optimizaiton
2019-08-23 13:27:19 +02:00
bubnikv
93c6915e9d
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-23 13:26:47 +02:00
YuSanka
7929bda24a
Resize of the KBShortcutsDialog according to the display size
2019-08-23 13:22:29 +02:00
Enrico Turri
c7cdb2fd3e
Added version check for .3mf and .amf project files. PrusaSlicer will refuse to import files with newer version numbers.
2019-08-23 13:12:31 +02:00
bubnikv
007a5301eb
Merge remote-tracking branch 'remotes/origin/lm_sla_gizmo_snapshots_supports'
2019-08-23 12:56:47 +02:00
YuSanka
058a1d9a98
Some refactoring for ObjectList::remove() for the purpose of getting correct Undo/Redo snapshots
2019-08-23 12:32:58 +02:00
Enrico Turri
1cf311529a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-23 12:28:03 +02:00
Enrico Turri
32dc4709a4
Workaround to fix gizmos' imgui dialog not showing up the first time the user activates them by using keyboard shortcuts.
2019-08-23 12:27:46 +02:00
Lukas Matena
1d8e060b75
Followup of previous commits - removing some unnecessary code
2019-08-23 12:11:45 +02:00
Lukas Matena
bf232e1ade
Fixed forward declaration of struct Slic3r::UndoRedo::Snapshot so MSVC does not complain
2019-08-23 10:34:16 +02:00
bubnikv
89fb8fd43c
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-23 10:03:00 +02:00
bubnikv
ac62734033
Fixed time stamps for the configuration snapshots
...
(local / UTC time functions were mixed up)
2019-08-23 10:02:45 +02:00
YuSanka
77d793c540
KBShortcutsDialog is changed to ScrollWindow
2019-08-23 09:44:03 +02:00
Enrico Turri
189312624a
Disable layers editing if enabled while switching to SLA printer
2019-08-23 09:27:15 +02:00
Lukas Matena
52933d1bab
Recalculate SLA supports after undo/redo in case SLA gizmo was active and had supports when the snapshot was taken
2019-08-23 01:42:59 +02:00
Lukas Matena
b55a140ad4
SLA gizmo takes snapshots on opening and closing
2019-08-23 01:42:59 +02:00
Lukas Matena
c736b657d4
SLA gizmo now refuses to close with unsaved changes in editing mode
2019-08-23 01:42:59 +02:00
Lukas Matena
24b9c926c6
GLGizmoManager.cpp: Initial work on the possibility of a gizmo refusing to close
2019-08-23 01:42:59 +02:00
bubnikv
911589efe1
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-22 20:03:36 +02:00
bubnikv
0de566e2a2
Hopefully a workaround for crashes and hang ups at closing on Windows.
...
Release the OpenGL contexts not by a destructor of a static class,
but explicitely (predictively).
2019-08-22 20:03:17 +02:00
YuSanka
628d2a2614
Fixed "split to part" for Undo/Redo stack
2019-08-22 15:43:06 +02:00
bubnikv
c6604ff55d
Merge remote-tracking branch 'remotes/origin/et_toolpaths_export'
2019-08-22 15:02:02 +02:00
YuSanka
ee38d80318
Added missed include
...
+ Added update of overrided settings, if they are shown on sidebar
2019-08-22 14:21:50 +02:00
YuSanka
a966a46896
Merge remote-tracking branch 'origin/master' into ys_update_settings
2019-08-22 13:19:44 +02:00
YuSanka
8828ec7860
Code refactoring: ConfigManipulation moved to separate files.
...
Use of ConfigManipulation inside of TabPrint(TabSLAPrint)::update().
2019-08-22 13:19:01 +02:00
bubnikv
0333553389
Windows specific fix of extruder selection and object editing
...
at the object list: When clicking on a column of an already selected line,
simulate ENTER key to enter the editing mode. This works most of the time,
but not 100% reliably.
solves the arthritis issue #1606
2019-08-22 11:47:58 +02:00
YuSanka
7ff68ad210
Merge remote-tracking branch 'origin/master' into ys_update_settings
2019-08-22 10:27:45 +02:00
YuSanka
ea4f76ea80
Implemented update for overridden options on sidebar
2019-08-22 10:25:19 +02:00
YuSanka
2cc2c02a9c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-21 08:45:22 +02:00
YuSanka
18d3792d37
Fixed a slack bug with wrong filament preset selection after importing of config
2019-08-20 18:45:12 +02:00
bubnikv
ccddcf88be
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-20 17:39:39 +02:00
tamasmeszaros
b58713c06f
SLA exposure bounds to printer params.
2019-08-20 17:24:48 +02:00
bubnikv
c8a78f5d85
Merge remote-tracking branch 'remotes/origin/ys_bf_msw_scale'
2019-08-20 16:53:23 +02:00
bubnikv
88dcb7f366
Checking for OpenGL driver version in the GUI slicer and giving some
...
reasonable advice to the user in case OpenGL < 2.0 was detected.
2019-08-20 16:38:03 +02:00
bubnikv
2e7d5e5bc1
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-20 16:22:37 +02:00
bubnikv
fd3fe75d1c
Reworked the rename_file() function on Windows to work reliably and
...
atomically. The code was taken from the llvm project, it is complex
and hopefully it covers all the Windows file system quirks. Vojtech
has highest hopes, that this will fix the various PrusaSlicer.ini
file corruptions.
Enabled the locales switching and error handling on Linux as well,
where now the missing locales are reported and running the locale-gen
tool is recommended.
2019-08-20 16:19:30 +02:00
tamasmeszaros
bafa4d6d19
Follow up: Adding new sla material parameters...
...
Small fix for redundant operations.
2019-08-20 16:01:44 +02:00
tamasmeszaros
7c94db0634
Adding new sla material parameters: (initial) exposition min/max
2019-08-20 15:49:32 +02:00
YuSanka
448d773da0
Fixed default transparency for ColorPicker from sidebar (was appeared under OSX for empty extruder color).
...
+ Fixed wrong getting of instance printable value inside add_object_to_list()
2019-08-20 15:27:51 +02:00
Enrico Turri
6e522cea15
Added missing include
2019-08-20 14:58:27 +02:00
Enrico Turri
403e2c7003
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 14:35:39 +02:00
Enrico Turri
1b6490af4c
Export materials file for gcode toolpaths when exported to obj file
2019-08-20 14:35:23 +02:00
YuSanka
ae9b0a401c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-20 13:01:51 +02:00
YuSanka
52c24a1662
Set list manipulation action on LeftButton too
...
Note: Doesn't work under OSX
2019-08-20 13:01:01 +02:00
Enrico Turri
2e3c71baaf
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 12:10:50 +02:00
Enrico Turri
f63b3ba600
Fixed gcode toolpaths data for export to obj file when taken from cpu
2019-08-20 12:10:15 +02:00
Vojtech Kral
1fc05bbf00
ConfigWizard: Fix: Snapshot not being taken on user-requested Wizard run
...
If the user launched Wizard from the menu and checked the reset
checkbox, snapshot was not taken in case no new bundles were
to be installed from resources (ie. most of the time).
Snapshot is now taken as appropriate.
2019-08-20 12:00:23 +02:00
Enrico Turri
da00b7bfa5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 11:34:18 +02:00
Enrico Turri
58473f84ee
Check for existence of gcode toolpaths that can be exported to obj file
2019-08-20 11:33:58 +02:00
YuSanka
7706a5be3e
Fixed #2738
...
+ Added update for plater config option "filament_colour", when we have multiple extruder print.
2019-08-20 09:52:01 +02:00
YuSanka
6780e74521
Update 3D-scene after filament's color change
2019-08-20 09:52:01 +02:00
YuSanka
3e62d7ae64
Implemented button "Reset to Filament Color"
2019-08-20 09:52:00 +02:00
Enrico Turri
a99a89a831
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 09:51:44 +02:00
Enrico Turri
730283a9e9
Export to obj file only toolpaths visible in 3D scene
2019-08-20 09:51:25 +02:00
bubnikv
a83da0f72c
Merge remote-tracking branch 'remotes/origin/lm_wxmemleaks'
2019-08-20 09:39:43 +02:00
bubnikv
2870416e4d
Merge remote-tracking branch 'remotes/origin/lm_exceptions_rebased'
2019-08-20 09:20:57 +02:00
bubnikv
167de35e22
Merge remote-tracking branch 'remotes/origin/lm_corrupt_config'
2019-08-20 09:12:33 +02:00
Enrico Turri
1f6aab312b
1st installment of export of gcode toolpaths to obj file
2019-08-20 09:01:09 +02:00
bubnikv
4fbee3216b
Fix of Zoom by trackpad does not update until click #2750
...
For an unknown reason, if the scrolling is performed on Windows
with the two finger gesture on touch pad, there is no Idle event
generated on some computers.
The Idle is not generated on Vojtech's laptop, it is generated
on Enrico's laptop.
evt.Skip() solves the issue on Vojtech's laptop.
2019-08-19 19:48:07 +02:00
Vojtech Kral
ef4ff55e55
Fix encoding of a few files in GUI
...
GUI/AboutDialog.cpp
GUI/MainFrame.hpp
GUI/OptionsGroup.cpp
2019-08-19 17:04:14 +02:00
Vojtech Kral
0ded335488
build: Add source file encoding check
...
Source files are checked using a small utility in src/build-utils
This is done to prevent bugs in build and localization caused
by weird non-UTF-8 encodings interpreted by MSVC in terms of local codepages
rather than UTF-8.
2019-08-19 17:04:14 +02:00
Vojtech Kral
f937209619
Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial
2019-08-19 17:04:14 +02:00
Vojtech Kral
745182988d
Refactor: Move Semver from slice3r to libslic3r
...
A static symbol Slic3r::SEMVER is introduced, which holds
the running slicer's Semver object.
This is mainly done to make testing updater behaviour
_much_ easier. Additionaly to cleanup some questionable code
(Semver was being parsed multiple times / in multiple places
in the frontend.)
2019-08-19 17:04:14 +02:00
Vojtech Kral
b5dd13b987
PresetUpdater: Fix index installation having broken incompatibility check
...
This fixes a problem where old slicer having found newer incompatible bundle
would not report an incompatibility.
The installed index check was performed too early before
bundle compatibility check. This fix moves the installed index check
to the point where a bundle would've been update (as it should be).
2019-08-19 17:04:14 +02:00
Enrico Turri
0becfa0a04
Fix of #2739
2019-08-19 15:44:22 +02:00
bubnikv
4717cdf2e1
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-19 14:34:23 +02:00
bubnikv
7008853f08
Add AppImage credits #2747
2019-08-19 14:34:12 +02:00
YuSanka
283cee3f27
Fixed SPE-1000.
...
Since the value inserted from the keyboard or clipboard is not updated under OSX,
we forcibly set the input value for SpinControl every time during editing.
Thus we can't set min control value bigger then 0.
Otherwise, it couldn't be possible to input from keyboard value less then min_val.
2019-08-19 12:58:59 +02:00
Lukas Matena
a66c59941d
Better error message in case of corrupted PrusaSlicer.ini
2019-08-19 12:55:57 +02:00
YuSanka
463783e092
Added ConfigManipulation to universal config manipulation (updating).
2019-08-16 16:47:29 +02:00
tamasmeszaros
65368db49b
Merge branch 'master' into tm_clang_mingw
2019-08-16 16:37:02 +02:00
tamasmeszaros
7e0199746e
more clang warnings enabled, performance measuring
...
Succesfull build on mingw-w64
fix sandboxes
Mingw fixes and full parallel support tree gen.
2019-08-16 16:17:37 +02:00
YuSanka
dac301e3b6
Update volumes on 3DScene, after adding of part for unprintable object
2019-08-16 13:14:51 +02:00
Lukas Matena
c8ac46df43
Fixed some memory leaks related to heap-allocated wxDialogs
...
Some correctly destroyed dialogs were also converted to stack-allocated
2019-08-15 12:52:56 +02:00
Lukas Matena
15744f021a
Print::validate: added epsilon checks on nozzle and filament diameter validation ( https://github.com/prusa3d/PrusaSlicer/issues/2737 )
...
Changed messagebox text after changing extruder diameter with single extruder printers so it is more obvious why it shows
In case nozzle diameters differ and someone checks 'single_extruder_mm', PrusaSlicer asks whether all diameters should be unified. Answering NO did not undo the SEMM check. It does now.
2019-08-15 10:43:17 +02:00
YuSanka
36d2a38a2f
Fix of #2745
2019-08-14 17:07:30 +02:00
YuSanka
2d1c554758
Some reverts for commit 4cd4d2c8b5
2019-08-14 17:07:30 +02:00
Jason Tibbitts
b2fc0cd427
Fix format-security-related build failure
...
Calling a printf-like function without a format string will cause gcc to
emit a warhing and causes a build failure on distros which build
everything with -Werror=format-security.
Signed-off-by: Jason Tibbitts <j@tib.bs>
2019-08-13 14:21:41 -05:00
YuSanka
5cf9bb0282
Fixed set printable state for a first instance after increasing instance count
2019-08-13 18:15:12 +02:00
YuSanka
4cd4d2c8b5
Fixed wrong page selection for Printer Setting after application run
2019-08-13 17:09:42 +02:00
YuSanka
08dced3ce7
Fix of scaling on Manipulation panel
2019-08-12 15:21:06 +02:00
YuSanka
ba15c99c2f
GTK issue: Fixed layer range editing.
...
Bug description: When try to change min/max Z value, object is unselected and layers "planes" on 3DScene are wrong positioned
2019-08-09 17:47:35 +02:00
YuSanka
0a9c5a9433
Fixed extra "Add_Selection" snapshot on call context menu from scene
...
+ Added take_snapshot for toggle_instance_printable_state
2019-08-09 09:49:10 +02:00
bubnikv
39b07e7b94
Partial revert of 07a3072622
...
It fixes an issue where the objects out of print bed are shown
in the print path preview in SLA mode.
2019-08-08 18:26:41 +02:00
Lukas Matena
1b5d561b7c
Added handling of std::bad_alloc so the user gets more comprehensible error message
...
Call to boost::nowide::nowide_filesystem() was made Windows only
2019-08-08 16:55:25 +02:00
Yuri D'Elia
489fba326e
Add 'L' as a legend toggle shortcut in preview
2019-08-08 10:04:05 +02:00
Yuri D'Elia
07480edc50
Show/hide the legend using a new checkbox in preview
2019-08-08 10:04:05 +02:00
bubnikv
0fb81e6cda
Let the alpha build store its profile into PrusaSlicer-alpha directory.
2019-08-08 10:00:11 +02:00
bubnikv
23b2b4c59f
Merge remote-tracking branch 'remotes/origin/vb_picking_fix'
2019-08-08 09:50:02 +02:00
bubnikv
8970ee28b2
Fixed linking of the "pad" combo box of the Plater with the respective
...
pad boolean values of the configuration layer.
2019-08-08 09:48:56 +02:00
bubnikv
75f36b83d5
Merge remote-tracking branch 'remotes/origin/master' into tm_zero_elev_ui
2019-08-08 08:43:00 +02:00
Lukas Matena
1789179506
GLGizmoSlaSupports.cpp: unproject_on_mesh does not throw exceptions but uses bool return value to signal success
2019-08-07 16:17:41 +02:00
tamasmeszaros
ada43e7add
Merge branch 'master' into tm_zero_elev_ui
2019-08-07 15:53:41 +02:00
bubnikv
ed2ca9ab0b
Merge remote-tracking branch 'remotes/origin/ys_printable_property' into vb_picking_fix
2019-08-07 15:44:25 +02:00
YuSanka
850fbdbe56
Added snapshot taking for Set Printable/Unprintable for full object
2019-08-07 15:39:46 +02:00
bubnikv
841d0796b7
Fix of the SLA gizmo picking.
2019-08-07 15:36:09 +02:00
bubnikv
7cef1292b2
Yet another fix of the preceding commit.
2019-08-07 15:03:43 +02:00
bubnikv
a19a506ad8
GLCanvas requires 8bit alpha channel for picking checksums.
2019-08-07 14:55:34 +02:00
bubnikv
abd89e4f9a
Merge remote-tracking branch 'remotes/origin/master' into vb_picking_fix
2019-08-07 14:31:16 +02:00
bubnikv
83ed1bed16
Merge remote-tracking branch 'remotes/origin/ys_printable_property' into vb_picking_fix
2019-08-07 14:31:00 +02:00
YuSanka
d25c5e0473
Added printable state update on canvas from Undo/redo
2019-08-07 14:28:46 +02:00
bubnikv
2d7f478dac
Finished picking by color with a checksum in the alpha channel
...
to guard against unwanted alpha blending and / or multi sampling.
2019-08-07 14:15:38 +02:00
YuSanka
abe16fa22e
Added printable property for object with instances
2019-08-07 14:11:41 +02:00
bubnikv
2ad3c05a65
WIP: Improvement in the picking robustness: store a checksum
...
into the alpha channel.
2019-08-07 11:37:38 +02:00
tamasmeszaros
1c479ad6c5
Fix build without PCH
2019-08-07 11:17:17 +02:00
bubnikv
a58b1844e0
WIP: Picking fix - disable alpha blending and render with false colors
...
including the alpha channels, which have their 3 lowest bits set to zero.
In case some blending occurs, the lowest 3 bits will likely be used
to interpolate between the false colors, therefore the 3 lowest bits
may be used to detect alpha blending or multi-sampling.
2019-08-07 11:14:04 +02:00
bubnikv
b7a8e51907
Merge remote-tracking branch 'remotes/origin/master' into ys_printable_property
2019-08-07 08:43:11 +02:00
Vojtech Bubnik
5ee69842d0
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-06 19:53:47 +02:00
Vojtech Bubnik
d36c64873d
Fix of a Linux / GTK specific crash on deleting of Layers from the side panel: wxWidgets / GTK internally delays the EnsureVisible() call to Idle processing. If the item is deleted after EnsureVisible() is planned and before the Idle processed, the Idle processing routine works with deleted data
2019-08-06 19:53:20 +02:00
YuSanka
91e0b7aa9a
Fixed control of options category for single material profiles
2019-08-06 19:02:17 +02:00
tamasmeszaros
b8bfe001c0
WIP: Pad quick-menu
2019-08-06 18:16:02 +02:00
bubnikv
621a552dc0
Redirect requests for the Prusa web pages with Slovak locale active
...
to Czech web pages.
2019-08-06 17:27:36 +02:00
bubnikv
4dd9817176
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-06 17:10:39 +02:00
bubnikv
c7962b5c20
Added missing include
2019-08-06 17:10:03 +02:00
tamasmeszaros
92e1649606
Merge branch 'master' into tm_zero_elev_ui
2019-08-06 16:54:46 +02:00