Commit Graph

9643 Commits

Author SHA1 Message Date
763576fbc2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments 2019-05-23 08:29:43 +02:00
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
82740835fb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-22 15:30:55 +02:00
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
844e99f84e Prototype of scale to fit print volume command 2019-05-22 14:42:38 +02:00
f70cc70626 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments 2019-05-22 13:59:33 +02:00
77efc33670 Fixed scaling of multiple selection 2019-05-22 13:57:39 +02:00
4e3218a03a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-22 11:31:56 +02:00
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
3f990f1f45 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments 2019-05-22 10:31:12 +02:00
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
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
4083182acb traditional Chinese language pack added 2019-05-22 09:09:44 +02:00
dd5f00de0a Create PrusaSlicer_zhtw.po 2019-05-22 09:09:44 +02:00
efd247fc58 Use texture compression on GPU 2019-05-21 14:19:03 +02:00
5afd0b4ee2 Fixing issues with mode switching on Linux. 2019-05-21 14:06:43 +02:00
dd57e55244 Adding dependency report into doc 2019-05-21 10:55:42 +02:00
efbb660f28 Update Simplified Chinese translation 2019-05-21 10:53:41 +02:00
91b97337b0 Tech ENABLE_NEW_EULER_ANGLES set as default 2019-05-21 10:16:44 +02:00
ac368e2c9e Tech ENABLE_GENERIC_SUBPARTS_PLACEMENT set as default 2019-05-21 10:01:04 +02:00
83c06859a6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-21 09:43:14 +02:00
975ccc4ac1 Tech ENABLE_VOLUMES_CENTERING_FIXES set as default 2019-05-21 09:42:59 +02:00
05aa51150c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-21 09:41:51 +02:00
84965dcb44 Fix of "PrusaSlicer 2.0.0.-rc+ g-code error when importing #2304" 2019-05-21 09:41:46 +02:00
2a973c1dfa Removed tech DISABLE_DESELECT_ALL_MENU_ITEM 2019-05-21 09:23:45 +02:00
fb6ae5296e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 18:49:36 +02:00
45a2ced191 Fix of a crash when deleting all objects. 2019-05-20 18:49:32 +02:00
28d28a54bf Preset updating: Judge dev version based on version online, not current 2019-05-20 18:36:55 +02:00
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
3975f4dda0 Bumped up the version to 2.0.0 2019-05-20 17:21:53 +02:00
f31bc54471 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-20 17:14:49 +02:00
eee23d1653 New dictionaries 2019-05-20 17:14:34 +02:00
9bea752567 Fix of the layer_height / first_layer_height non zero test. 2019-05-20 17:05:16 +02:00
b65d5683e2 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-20 16:38:07 +02:00
64aa7237c0 New POT 2019-05-20 16:37:55 +02:00
213ee6baae Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-20 16:37:13 +02:00
03a62e5721 Fixed rendering of support points in SLA gizmo for mirrored objects 2019-05-20 16:33:57 +02:00
c24e96f6e2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 16:26:13 +02:00
f0ac0fbd09 Updated profiles for the final release. 2019-05-20 16:25:51 +02:00
7b84d1e710 Fix of #2277
+ new POT
2019-05-20 16:05:15 +02:00
b0200c04ae Fixed debug technology ENABLE_RENDER_SELECTION_CENTER 2019-05-20 15:59:54 +02:00
8f72a0cad8 Fixed the localized PrusaSlicer change log link.
Fixed a typo in the code.
2019-05-20 15:32:43 +02:00
8eb31e6d8d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 15:00:39 +02:00
dc0e53cbdd When testing for the spin control input bounds, test for the MIN_INT
as well
2019-05-20 15:00:35 +02:00
032cf3cd47 Merge pull request #2272 from wavexx/do_not_refresh_until_initialized
Delay refresh until initialized
2019-05-20 14:48:47 +02:00
8133aa1324 Fix wxSpinCtrl in settings on Mac OS, cf. #2237 2019-05-20 14:39:42 +02:00
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
537c3714f2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-20 14:22:54 +02:00
eb807fd1fa Re-generated the pot file, context for Top / Bottom added manually 2019-05-20 14:22:34 +02:00
951f9c1dab Reset tooltip in objects list when no item is hovered 2019-05-20 13:52:58 +02:00