Commit Graph

10449 Commits

Author SHA1 Message Date
tamasmeszaros
5fee4507dc Follow up: Adding new sla material parameters...
Small fix for redundant operations.
2019-08-20 16:01:44 +02:00
tamasmeszaros
82e76d472d Adding new sla material parameters: (initial) exposition min/max 2019-08-20 15:49:32 +02:00
YuSanka
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
Vojtech Kral
902c94335e avrdude: Fix: Generate the embedded conf in the bin dir, remove from repo
The generated file avrdude-slic3r.conf.h is not kept in repo any longer
- it was causing trouble for git diffing.
It's now generated in $CMAKE_CURRENT_BINARY_DIR and included from there.

The file embeds avrdude-slic3r.conf so that the conf doesn't need to
be loaded from disk.
2019-08-20 15:15:30 +02:00
Lukas Matena
2257e8c15c GCode.cpp: Fix of temperature change before print
Function set_extruder can be called before moving to the first layer, m_layer_index is then -1. We definitely don't want to set temperature for second layer in that case.
2019-08-20 14:22:31 +02:00
YuSanka
68be95a91b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-20 13:01:51 +02:00
YuSanka
b86c156e4b Set list manipulation action on LeftButton too
Note: Doesn't work under OSX
2019-08-20 13:01:01 +02:00
Vojtech Kral
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
YuSanka
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
YuSanka
925a891a41 Update 3D-scene after filament's color change 2019-08-20 09:52:01 +02:00
YuSanka
fc56003295 Implemented button "Reset to Filament Color" 2019-08-20 09:52:00 +02:00
bubnikv
9034b77194 Merge remote-tracking branch 'remotes/origin/lm_wxmemleaks' 2019-08-20 09:39:43 +02:00
bubnikv
2b27771bb4 Merge remote-tracking branch 'remotes/origin/lm_circular_priming' 2019-08-20 09:34:45 +02:00
bubnikv
9837e07590 Merge remote-tracking branch 'remotes/origin/lm_exceptions_rebased' 2019-08-20 09:20:57 +02:00
bubnikv
b39e1bb11f Merge remote-tracking branch 'remotes/origin/lm_wipe_tower_linear_advance' 2019-08-20 09:19:22 +02:00
bubnikv
14ce77a87d Merge remote-tracking branch 'remotes/origin/lm_corrupt_config' 2019-08-20 09:12:33 +02:00
bubnikv
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
Vojtech Kral
3d82ddb93a Merge branch 'vk-bugfixes' 2019-08-19 17:04:50 +02:00
Vojtech Kral
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
Vojtech Kral
5a13a36417 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
369a08d2c0 Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial 2019-08-19 17:04:14 +02:00
Vojtech Kral
84eaeb99fb avrdude: conf-generate: Fix line endings - always generate LF endings
avrdude configuration embedding tool was generating platform
specific line endings in avrdude-slic3r.conf.h
2019-08-19 17:04:14 +02:00
Vojtech Kral
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
Vojtech Kral
4a9493f765 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
bubnikv
9ef3dd83e2 Fixed memory issues of BedShapeHintwhen using unions of non-trivial objects 2019-08-19 17:01:39 +02:00
Lukas Matena
5953d7b810 Extended the error message when empty layers are detected 2019-08-19 15:50:49 +02:00
Enrico Turri
378bc41c64 Fix of #2739 2019-08-19 15:44:22 +02:00
bubnikv
62ee13a534 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-19 14:34:23 +02:00
bubnikv
4f4aa20553 Add AppImage credits #2747 2019-08-19 14:34:12 +02:00
YuSanka
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
Lukas Matena
7f65f2585c Better error message in case of corrupted PrusaSlicer.ini 2019-08-19 12:55:57 +02:00
tamasmeszaros
61a9e78794 Set min SLA display resolution to 1x1 (see SPE-1000) 2019-08-19 10:58:44 +02:00
tamasmeszaros
e8f69c5aa0 Merge branch 'tm_clang_mingw'
Upgraded build scripts for clang-cl and MinGW-w64
* clang-cl needs custom boost dependencies
* mingw needs the full deps rebuilt, see deps/deps-mingw
* Enabling full parallel support tree generation
2019-08-16 18:07:18 +02:00
tamasmeszaros
a02e218ccd Merge branch 'master' into tm_clang_mingw 2019-08-16 16:37:02 +02:00
tamasmeszaros
2792e94938 Fix up build and clear dev output 2019-08-16 16:31:05 +02:00
tamasmeszaros
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
tamasmeszaros
5fc8dd3c45 Fix performance bottleneck in IGL 2019-08-16 13:55:39 +02:00
YuSanka
9e540e3450 Update volumes on 3DScene, after adding of part for unprintable object 2019-08-16 13:14:51 +02:00
Lukas Matena
73b310a37c WipeTower: linear advance is disabled immediately before ramming, not before moving to the wipe tower
Linear advance is reset by filament start gcode after a toolchange. However, not all moves to the wipe tower
end with a toolchange (brim, empty grid) and it would therefore disable linear advance until the next toolchange
This should solve https://github.com/prusa3d/PrusaSlicer/issues/2770
2019-08-16 00:20:51 +02:00
tamasmeszaros
1a45a8b31e Fix for issue #2765, arrange crash with custom beds 2019-08-15 16:15:17 +02:00
Lukas Matena
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
Lukas Matena
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
Lukas Matena
1117042adb Multimaterial initial priming for non-Prusa printers (https://github.com/prusa3d/PrusaSlicer/issues/1121)
The initial priming now does not assume anything about bed width and always uses the space it has
In case of circular beds it places the priming lines along the diameter
Custom beds are not supported (they are treated as circular with no extra checks whether it is sane)
Slight refactoring of the WipeTower class (constructor now gets reference to PrintConfig and not the individual values, same with set_extruder). This was legacy from times when the wipe tower was meant to be abstract and independent on the rest)
2019-08-15 01:41:46 +02:00
YuSanka
957f33a2c6 Fix of #2745 2019-08-14 17:07:30 +02:00
YuSanka
1d0b4109cb Some reverts for commit 4cd4d2c8b5 2019-08-14 17:07:30 +02:00
lukasmatena
d6bb06a8d5 Merge pull request #2757 from jasontibbitts/format-security2
Fix format-security-related build failure
2019-08-13 23:08:21 +02:00
Jason Tibbitts
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
YuSanka
69f5457ec7 Fixed set printable state for a first instance after increasing instance count 2019-08-13 18:15:12 +02:00
YuSanka
b9a7444b1b Fixed wrong page selection for Printer Setting after application run 2019-08-13 17:09:42 +02:00
YuSanka
3762fd8942 Merge remote-tracking branch 'origin/ys_scaling' 2019-08-13 13:50:05 +02:00