Commit Graph

10101 Commits

Author SHA1 Message Date
YuSanka
765d4264ae Implemented ObjectLayers class
+ some code refactoring
2019-05-28 16:38:04 +02:00
tamasmeszaros
9c46eed742 Don't wrap braces after control statements. 2019-05-28 15:29:06 +02:00
Enrico Turri
8012499206 Application of anisotropy to textures moved into GLTexture methods 2019-05-28 15:21:34 +02:00
tamasmeszaros
cdf85a9058 Allow all types of functions on one line.
Which would fit into the 75 char line limit.
2019-05-28 15:18:11 +02:00
tamasmeszaros
e78658ddc2 Code style for clang-format tool.
I tried to make it respect our code style as much as possible.
2019-05-28 15:09:01 +02:00
Enrico Turri
886da08f89 Texture compression set as an option 2019-05-28 12:53:16 +02:00
Enrico Turri
61c41aa90f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments 2019-05-28 09:46:40 +02:00
YuSanka
9d19e3d2a7 Improved Delete() Add() ans Select() functions for Layer(s)Item 2019-05-27 16:13:24 +02:00
Lukas Matena
66a56941a5 SLA dialog: Prevented the slider to have zero width, even in case the text width is calculated incorrectly 2019-05-27 15:36:51 +02:00
tamasmeszaros
025a889f88 Update miniz cmake 2019-05-27 14:46:04 +02:00
YuSanka
dd70dd6e10 Implemented LayerItem for ObjectList 2019-05-27 14:00:34 +02:00
Enrico Turri
e0da08906b Disabled debug render statistics dialog 2019-05-27 09:20:48 +02:00
Enrico Turri
61730aee27 Updated shortcut dialog with new scale to fit print volume command 2019-05-24 15:53:15 +02:00
Enrico Turri
efe29b3c2d Fixed conflicts after merge with master 2019-05-24 15:29:22 +02:00
Enrico Turri
bf9740188a Code cleanup 2019-05-24 15:22:27 +02:00
Enrico Turri
734d946912 1) Added Scale to print volume menu item to objects list context menu
2) Disable [F] key when scale sizmo is dragging
2019-05-24 14:42:59 +02:00
Enrico Turri
c92940c985 Fixed conflicts after cherry-picking 844e99f84e 2019-05-24 14:42:46 +02:00
Enrico Turri
9f3a05eef3 Fixed false detection of out of print volume for sla supports 2019-05-24 14:38:05 +02:00
YuSanka
abdd76de44 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-24 12:46:36 +02:00
YuSanka
5eab933fc2 Workaround for #2331 2019-05-24 12:37:26 +02:00
bubnikv
209f1e3b99 Fix of loading the variable layer height profile and the SLA support
points for projects with instances.

3mf does not support a concept of instances, therefore all the instances
of all objects are indexed in a linear fashion. However, the 3mf files
index the layer height profiles and the SLA support points with
the object ID. The loading was fixed to take the different indexing
into account.
2019-05-24 12:17:54 +02:00
bubnikv
984a475d76 renamed: resources/localization/ko_KR/PrusaSlicer.po -> resources/localization/ko_KR/PrusaSlicer_kr.po 2019-05-24 09:08:29 +02:00
lee hakmin
020870b808 Add files via upload 2019-05-24 09:07:17 +02:00
lee hakmin
f0f64c6fac Add files via upload 2019-05-24 09:07:17 +02:00
lee hakmin
cad520c7ef Add files via upload 2019-05-24 09:07:17 +02:00
Enrico Turri
302ac3a849 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments 2019-05-24 08:22:53 +02:00
bubnikv
33f25ae985 Fixed version info of the Win32 builds. 2019-05-23 18:05:28 +02:00
bubnikv
ded5ad0517 Support of CJK languages in ImGUI:
Added glyph tables & CJK font (huge file!)
Added glyph tables for Turkish and Vietnamese.
Added glyph tables Thai (font is still missing)
2019-05-23 18:04:27 +02:00
bubnikv
0a43cf0674 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-23 15:43:22 +02:00
bubnikv
343d2ea16d Fixed update of the SLA back end object properties, leading to
the "disable supports" and "disable pad" flags being ignored
after the project was loaded.
2019-05-23 15:43:16 +02:00
YuSanka
00ebd76431 Merge remote-tracking branch 'origin/ys_bugfixing' 2019-05-23 15:24:16 +02:00
YuSanka
16508fcd93 Merge remote-tracking branch 'origin/ys_new_features' 2019-05-23 15:23:35 +02:00
YuSanka
149665742c Fix of #2318 2019-05-23 15:12:19 +02:00
Enrico Turri
3aa14bddf5 Max texture size dependent on OpenGL version on Win and Linux and on retina monitors on Mac 2019-05-23 13:49:57 +02:00
YuSanka
be2681dab6 Merge remote-tracking branch 'origin/master' into ys_bugfixing 2019-05-23 12:42:59 +02:00
YuSanka
6de5b34312 Set current filament color to the ColorPicker 2019-05-23 12:39:55 +02:00
Enrico Turri
4504569f8e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments 2019-05-23 12:39:47 +02:00
bubnikv
666e9687ce Fixes PrusaSlicer exits after entering illegal object name #2348
For some reason, showing an error message box from inside the right panel
in place editor handler lealds to crashes at least on Windows.
Postpoing the dialog with a CallAfter cures that crash.
2019-05-23 12:18:28 +02:00
tamasmeszaros
902bf682c0 Replacing old miniz version with new 2.1.0
#2333: The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
2019-05-23 11:52:31 +02:00
bubnikv
e8077d9e2e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-23 11:48:48 +02:00
YuSanka
8e12189b37 Fixed filament color editing from Combobox (related to #2321) 2019-05-23 10:55:57 +02:00
bubnikv
f7b87ce033 Implements Turkish Language Pack #2342 2019-05-23 10:05:54 +02:00
Enrico Turri
a8e92be6eb 1) Added Scale to print volume menu item to objects list context menu
2) Disable [F] key when scale sizmo is dragging
2019-05-23 09:20:11 +02:00
YuSanka
1721a7db5b Added comments and some changes of input parameters for slider 2019-05-23 08:58:42 +02:00
Enrico Turri
763576fbc2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments 2019-05-23 08:29:43 +02:00
YuSanka
a1e09c3db3 Fix of an icon size slider under OSX and GTK 2019-05-22 17:08:02 +02:00
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
844e99f84e Prototype of scale to fit print volume command 2019-05-22 14:42:38 +02:00