Commit Graph

9690 Commits

Author SHA1 Message Date
Lukas Matena
07282eb24d Fixed unit tests when run with range checks on std::vector
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288.
I quickly patched additional normalization of the preset to prevent this from happening.

Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.

Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
bubnikv
82740835fb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-22 15:30:55 +02:00
bubnikv
38bd13463f Fix of MMU file detection not working consistently #2317
If a 3mf or amf file does not contain slicer's profile, and if it
looks like a multi-part object, slicer shall ask for loading it
as a multi-part object.
2019-05-22 15:30:35 +02:00
Enrico Turri
77efc33670 Fixed scaling of multiple selection 2019-05-22 13:57:39 +02:00
YuSanka
ccdd68f157 Merge remote-tracking branch 'origin/master' into ys_new_features 2019-05-22 13:51:49 +02:00
YuSanka
d845966cbb Implemented a possibility to set a custom toolbars icon size (related to #2247 and same others) 2019-05-22 13:51:02 +02:00
bubnikv
4e3218a03a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-22 11:31:56 +02:00
bubnikv
f5ef537640 Fix of Crash on Export config Bundle (Win64) (#2307)
Export of the names of the SLA profiles was performed into the config bundle
for SLA profiles, which were nop set. A safe method is now used,
which stores an empty string in such a case.
2019-05-22 11:31:36 +02:00
Jason Tibbitts
ef028cd8b1 Use generic qhull include location
Currently the qhull includes are referenced absolutely, but the compiler
is always called with the src directory in the include path and so it
should be safe to specify a more generic path.
2019-05-22 10:29:54 +02:00
Jason Tibbitts
37984ece16 Use the correct expat location
expat.h is (in most Linux distributions, at least) located directly in
/usr/include.  Because the compiler is called with the src directory in
the include path, the include of <expat/expat.h> happens to work but
results in the bundled version of the header being used instead of the
system version.
2019-05-22 10:10:58 +02:00
taksito
4083182acb traditional Chinese language pack added 2019-05-22 09:09:44 +02:00
taksito
dd5f00de0a Create PrusaSlicer_zhtw.po 2019-05-22 09:09:44 +02:00
tamasmeszaros
5afd0b4ee2 Fixing issues with mode switching on Linux. 2019-05-21 14:06:43 +02:00
tamasmeszaros
dd57e55244 Adding dependency report into doc 2019-05-21 10:55:42 +02:00
Jiang Yue
efbb660f28 Update Simplified Chinese translation 2019-05-21 10:53:41 +02:00
Enrico Turri
91b97337b0 Tech ENABLE_NEW_EULER_ANGLES set as default 2019-05-21 10:16:44 +02:00
Enrico Turri
ac368e2c9e Tech ENABLE_GENERIC_SUBPARTS_PLACEMENT set as default 2019-05-21 10:01:04 +02:00
Enrico Turri
83c06859a6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-21 09:43:14 +02:00
Enrico Turri
975ccc4ac1 Tech ENABLE_VOLUMES_CENTERING_FIXES set as default 2019-05-21 09:42:59 +02:00
bubnikv
05aa51150c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-21 09:41:51 +02:00
bubnikv
84965dcb44 Fix of "PrusaSlicer 2.0.0.-rc+ g-code error when importing #2304" 2019-05-21 09:41:46 +02:00
Enrico Turri
2a973c1dfa Removed tech DISABLE_DESELECT_ALL_MENU_ITEM 2019-05-21 09:23:45 +02:00
bubnikv
fb6ae5296e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 18:49:36 +02:00
bubnikv
45a2ced191 Fix of a crash when deleting all objects. 2019-05-20 18:49:32 +02:00
Vojtech Kral
28d28a54bf Preset updating: Judge dev version based on version online, not current 2019-05-20 18:36:55 +02:00
Jason Tibbitts
58d78e8dbd Fix two errors with -Werror=format-security
Fedora (and, I supposed, most recent Linux distros) build everything
with -Werror=format-security.  If you attempt to build with
-DSLIC3R_PERL_XS (which we need in order to run the test suite), the
build fails because of two strings in the Perl XS code:

/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/builddir/build/BUILD/PrusaSlicer-version_2.0.0-rc2/xs/xsp/typemap.xspt" "/builddir/build/BUILD/PrusaSlicer-version_2.0.0-rc2/xs/xsp/Print.xsp":585:31: error: format not a string literal and no format arguments [-Werror=format-security]

Ths fixes up two instances of that.
2019-05-20 18:16:13 +02:00
bubnikv
3975f4dda0 Bumped up the version to 2.0.0 2019-05-20 17:21:53 +02:00
YuSanka
f31bc54471 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-20 17:14:49 +02:00
YuSanka
eee23d1653 New dictionaries 2019-05-20 17:14:34 +02:00
bubnikv
9bea752567 Fix of the layer_height / first_layer_height non zero test. 2019-05-20 17:05:16 +02:00
YuSanka
b65d5683e2 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-20 16:38:07 +02:00
YuSanka
64aa7237c0 New POT 2019-05-20 16:37:55 +02:00
YuSanka
213ee6baae Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-20 16:37:13 +02:00
Lukas Matena
03a62e5721 Fixed rendering of support points in SLA gizmo for mirrored objects 2019-05-20 16:33:57 +02:00
bubnikv
c24e96f6e2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 16:26:13 +02:00
bubnikv
f0ac0fbd09 Updated profiles for the final release. 2019-05-20 16:25:51 +02:00
YuSanka
7b84d1e710 Fix of #2277
+ new POT
2019-05-20 16:05:15 +02:00
Enrico Turri
b0200c04ae Fixed debug technology ENABLE_RENDER_SELECTION_CENTER 2019-05-20 15:59:54 +02:00
bubnikv
8f72a0cad8 Fixed the localized PrusaSlicer change log link.
Fixed a typo in the code.
2019-05-20 15:32:43 +02:00
bubnikv
8eb31e6d8d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 15:00:39 +02:00
bubnikv
dc0e53cbdd When testing for the spin control input bounds, test for the MIN_INT
as well
2019-05-20 15:00:35 +02:00
Vojtech Kral
032cf3cd47
Merge pull request #2272 from wavexx/do_not_refresh_until_initialized
Delay refresh until initialized
2019-05-20 14:48:47 +02:00
Vojtech Kral
8133aa1324 Fix wxSpinCtrl in settings on Mac OS, cf. #2237 2019-05-20 14:39:42 +02:00
bubnikv
cd1a445c83 Fixed update of the project name in the status line in case the name
of the project contains dots.
2019-05-20 14:30:55 +02:00
bubnikv
537c3714f2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 14:22:54 +02:00
bubnikv
eb807fd1fa Re-generated the pot file, context for Top / Bottom added manually 2019-05-20 14:22:34 +02:00
Enrico Turri
951f9c1dab Reset tooltip in objects list when no item is hovered 2019-05-20 13:52:58 +02:00
tamasmeszaros
9dc6699229 Eliminate some warnings 2019-05-20 12:29:14 +02:00
bubnikv
08388d3daa Fix of the previous commit 2019-05-20 12:22:08 +02:00
bubnikv
1ecb98e35f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 12:21:36 +02:00