Commit Graph

3055 Commits

Author SHA1 Message Date
90f5f7eb46 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
c6c542b945 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-20 16:22:37 +02:00
08d001931b 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
5fee4507dc Follow up: Adding new sla material parameters...
Small fix for redundant operations.
2019-08-20 16:01:44 +02:00
82e76d472d Adding new sla material parameters: (initial) exposition min/max 2019-08-20 15:49:32 +02:00
5309d1c0ca 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
ca6161184a Added missing include 2019-08-20 14:58:27 +02:00
92f53cfb27 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export 2019-08-20 14:35:39 +02:00
5faa69c7bc Export materials file for gcode toolpaths when exported to obj file 2019-08-20 14:35:23 +02:00
68be95a91b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-20 13:01:51 +02:00
b86c156e4b Set list manipulation action on LeftButton too
Note: Doesn't work under OSX
2019-08-20 13:01:01 +02:00
80c88cc15f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export 2019-08-20 12:10:50 +02:00
c5a7128626 Fixed gcode toolpaths data for export to obj file when taken from cpu 2019-08-20 12:10:15 +02:00
079270f2ff 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
778b4c2e12 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export 2019-08-20 11:34:18 +02:00
170b1b1fa2 Check for existence of gcode toolpaths that can be exported to obj file 2019-08-20 11:33:58 +02:00
c8fa34fcf2 Fixed #2738
+ Added update for plater config option "filament_colour", when we have multiple extruder print.
2019-08-20 09:52:01 +02:00
925a891a41 Update 3D-scene after filament's color change 2019-08-20 09:52:01 +02:00
fc56003295 Implemented button "Reset to Filament Color" 2019-08-20 09:52:00 +02:00
26e1853caf Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export 2019-08-20 09:51:44 +02:00
9c96fe4243 Export to obj file only toolpaths visible in 3D scene 2019-08-20 09:51:25 +02:00
9034b77194 Merge remote-tracking branch 'remotes/origin/lm_wxmemleaks' 2019-08-20 09:39:43 +02:00
9837e07590 Merge remote-tracking branch 'remotes/origin/lm_exceptions_rebased' 2019-08-20 09:20:57 +02:00
14ce77a87d Merge remote-tracking branch 'remotes/origin/lm_corrupt_config' 2019-08-20 09:12:33 +02:00
709ac9bb3f 1st installment of export of gcode toolpaths to obj file 2019-08-20 09:01:09 +02:00
58059eed79 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
eb7f4cff7e 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
3e204ecb80 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
378bc41c64 Fix of #2739 2019-08-19 15:44:22 +02:00
62ee13a534 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-19 14:34:23 +02:00
4f4aa20553 Add AppImage credits #2747 2019-08-19 14:34:12 +02:00
8fcf81d9ee 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
7f65f2585c Better error message in case of corrupted PrusaSlicer.ini 2019-08-19 12:55:57 +02:00
2346774153 Added ConfigManipulation to universal config manipulation (updating). 2019-08-16 16:47:29 +02:00
a02e218ccd Merge branch 'master' into tm_clang_mingw 2019-08-16 16:37:02 +02:00
a02a929b17 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
9e540e3450 Update volumes on 3DScene, after adding of part for unprintable object 2019-08-16 13:14:51 +02:00
5ed5e04da1 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
3f1926f984 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
957f33a2c6 Fix of #2745 2019-08-14 17:07:30 +02:00
1d0b4109cb Some reverts for commit 4cd4d2c8b5 2019-08-14 17:07:30 +02:00
ca9aa89f16 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
69f5457ec7 Fixed set printable state for a first instance after increasing instance count 2019-08-13 18:15:12 +02:00
b9a7444b1b Fixed wrong page selection for Printer Setting after application run 2019-08-13 17:09:42 +02:00
1281e03e1d Fix of scaling on Manipulation panel 2019-08-12 15:21:06 +02:00
f275ad17db 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
de3b001622 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
cb4d91252f 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
8ba48f361a 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
a4ab108709 Add 'L' as a legend toggle shortcut in preview 2019-08-08 10:04:05 +02:00