YuSanka
2cc2c02a9c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-21 08:45:22 +02:00
Lukas Matena
6a22651501
Fixed a typo preventing compilation on Linux
2019-08-20 20:24:37 +02:00
YuSanka
18d3792d37
Fixed a slack bug with wrong filament preset selection after importing of config
2019-08-20 18:45:12 +02:00
bubnikv
775a54846f
Fixed compilation of Win32 message boxes on unix systems.
2019-08-20 17:46:19 +02:00
bubnikv
ccddcf88be
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-20 17:39:39 +02:00
tamasmeszaros
b58713c06f
SLA exposure bounds to printer params.
2019-08-20 17:24:48 +02:00
bubnikv
c8a78f5d85
Merge remote-tracking branch 'remotes/origin/ys_bf_msw_scale'
2019-08-20 16:53:23 +02:00
bubnikv
88dcb7f366
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
bubnikv
2e7d5e5bc1
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-20 16:22:37 +02:00
bubnikv
fd3fe75d1c
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
tamasmeszaros
bafa4d6d19
Follow up: Adding new sla material parameters...
...
Small fix for redundant operations.
2019-08-20 16:01:44 +02:00
tamasmeszaros
7c94db0634
Adding new sla material parameters: (initial) exposition min/max
2019-08-20 15:49:32 +02:00
YuSanka
448d773da0
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
03079d4928
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
Enrico Turri
6e522cea15
Added missing include
2019-08-20 14:58:27 +02:00
Enrico Turri
403e2c7003
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 14:35:39 +02:00
Enrico Turri
1b6490af4c
Export materials file for gcode toolpaths when exported to obj file
2019-08-20 14:35:23 +02:00
Lukas Matena
53939796a6
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
ae9b0a401c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-20 13:01:51 +02:00
YuSanka
52c24a1662
Set list manipulation action on LeftButton too
...
Note: Doesn't work under OSX
2019-08-20 13:01:01 +02:00
Enrico Turri
2e3c71baaf
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 12:10:50 +02:00
Enrico Turri
f63b3ba600
Fixed gcode toolpaths data for export to obj file when taken from cpu
2019-08-20 12:10:15 +02:00
Vojtech Kral
1fc05bbf00
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
Enrico Turri
da00b7bfa5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 11:34:18 +02:00
Enrico Turri
58473f84ee
Check for existence of gcode toolpaths that can be exported to obj file
2019-08-20 11:33:58 +02:00
YuSanka
7706a5be3e
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
6780e74521
Update 3D-scene after filament's color change
2019-08-20 09:52:01 +02:00
YuSanka
3e62d7ae64
Implemented button "Reset to Filament Color"
2019-08-20 09:52:00 +02:00
Enrico Turri
a99a89a831
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 09:51:44 +02:00
Enrico Turri
730283a9e9
Export to obj file only toolpaths visible in 3D scene
2019-08-20 09:51:25 +02:00
bubnikv
a83da0f72c
Merge remote-tracking branch 'remotes/origin/lm_wxmemleaks'
2019-08-20 09:39:43 +02:00
bubnikv
384ee17fcb
Merge remote-tracking branch 'remotes/origin/lm_circular_priming'
2019-08-20 09:34:45 +02:00
bubnikv
2870416e4d
Merge remote-tracking branch 'remotes/origin/lm_exceptions_rebased'
2019-08-20 09:20:57 +02:00
bubnikv
778e499827
Merge remote-tracking branch 'remotes/origin/lm_wipe_tower_linear_advance'
2019-08-20 09:19:22 +02:00
bubnikv
167de35e22
Merge remote-tracking branch 'remotes/origin/lm_corrupt_config'
2019-08-20 09:12:33 +02:00
Enrico Turri
1f6aab312b
1st installment of export of gcode toolpaths to obj file
2019-08-20 09:01:09 +02:00
bubnikv
4fbee3216b
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
ef4ff55e55
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
0ded335488
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
f937209619
Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial
2019-08-19 17:04:14 +02:00
Vojtech Kral
baaf66d138
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
745182988d
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
b5dd13b987
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
e30a17beb3
Fixed memory issues of BedShapeHintwhen using unions of non-trivial objects
2019-08-19 17:01:39 +02:00
Lukas Matena
92bdb68e11
Extended the error message when empty layers are detected
2019-08-19 15:50:49 +02:00
Enrico Turri
0becfa0a04
Fix of #2739
2019-08-19 15:44:22 +02:00
bubnikv
4717cdf2e1
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-19 14:34:23 +02:00
bubnikv
7008853f08
Add AppImage credits #2747
2019-08-19 14:34:12 +02:00
YuSanka
283cee3f27
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
a66c59941d
Better error message in case of corrupted PrusaSlicer.ini
2019-08-19 12:55:57 +02:00
tamasmeszaros
eddf932161
Set min SLA display resolution to 1x1 (see SPE-1000)
2019-08-19 10:58:44 +02:00
YuSanka
463783e092
Added ConfigManipulation to universal config manipulation (updating).
2019-08-16 16:47:29 +02:00
tamasmeszaros
65368db49b
Merge branch 'master' into tm_clang_mingw
2019-08-16 16:37:02 +02:00
tamasmeszaros
c187a5fb69
Fix up build and clear dev output
2019-08-16 16:31:05 +02:00
tamasmeszaros
7e0199746e
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
eba8c39846
Fix performance bottleneck in IGL
2019-08-16 13:55:39 +02:00
YuSanka
dac301e3b6
Update volumes on 3DScene, after adding of part for unprintable object
2019-08-16 13:14:51 +02:00
Lukas Matena
0f32223ba0
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
8fce511806
Fix for issue #2765 , arrange crash with custom beds
2019-08-15 16:15:17 +02:00
Lukas Matena
c8ac46df43
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
15744f021a
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
c84b1ca34b
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
36d2a38a2f
Fix of #2745
2019-08-14 17:07:30 +02:00
YuSanka
2d1c554758
Some reverts for commit 4cd4d2c8b5
2019-08-14 17:07:30 +02:00
Jason Tibbitts
b2fc0cd427
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
5cf9bb0282
Fixed set printable state for a first instance after increasing instance count
2019-08-13 18:15:12 +02:00
YuSanka
4cd4d2c8b5
Fixed wrong page selection for Printer Setting after application run
2019-08-13 17:09:42 +02:00
YuSanka
6adb2e7aea
Merge remote-tracking branch 'origin/ys_scaling'
2019-08-13 13:50:05 +02:00
Lukas Matena
c189140221
Fixed a false positive empty layer report
...
Reported in https://github.com/prusa3d/PrusaSlicer/issues/2752 and was a result of setting support contact z distance to negative value.
This lowered the maximum allowed print_z of the next layer, even though previous layer had object layers too, so the penalty from the contact z should not have been applied.
Fixed simply by rejecting the negative contact_z.
2019-08-13 11:02:58 +02:00
YuSanka
08dced3ce7
Fix of scaling on Manipulation panel
2019-08-12 15:21:06 +02:00
YuSanka
ba15c99c2f
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
tamasmeszaros
a49caea6cc
Hotfix for crash when empty pad and support mesh is generated.
2019-08-09 17:13:18 +02:00
bubnikv
9b700ef252
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-09 09:58:27 +02:00
bubnikv
46fa83adac
Only validate support_material_extrusion_width with supports
...
or raft enabled.
2019-08-09 09:58:05 +02:00
YuSanka
0a9c5a9433
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
tamasmeszaros
52702769d4
Hotfix for crash with support disabled and pad enabled.
2019-08-08 19:12:37 +02:00
bubnikv
39b07e7b94
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
Lukas Matena
1b5d561b7c
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
bubnikv
bcfb445d0c
Partial revert of f474978db5
...
to fix Perl driven unit tests.
2019-08-08 15:24:23 +02:00
bubnikv
7e694a8fb8
Workaround for invalid access inside some character classification table
...
when parsing localized file names by the PlaceholderParser:
UTF8 characters were handled as chars, and the negative char values were
used as indices into 7bit long tables.
2019-08-08 14:21:24 +02:00
bubnikv
f474978db5
Clean up the mess required for the legacy Perl bindings, which are now
...
used for Perl unit / integration tests only. With this commit,
the code will be cleaner, but likely the unit tests will not run
on Windows, if installed in a localized path.
2019-08-08 12:59:55 +02:00
Yuri D'Elia
489fba326e
Add 'L' as a legend toggle shortcut in preview
2019-08-08 10:04:05 +02:00
Yuri D'Elia
07480edc50
Show/hide the legend using a new checkbox in preview
2019-08-08 10:04:05 +02:00
bubnikv
0fb81e6cda
Let the alpha build store its profile into PrusaSlicer-alpha directory.
2019-08-08 10:00:11 +02:00
bubnikv
23b2b4c59f
Merge remote-tracking branch 'remotes/origin/vb_picking_fix'
2019-08-08 09:50:02 +02:00
bubnikv
8970ee28b2
Fixed linking of the "pad" combo box of the Plater with the respective
...
pad boolean values of the configuration layer.
2019-08-08 09:48:56 +02:00
bubnikv
75f36b83d5
Merge remote-tracking branch 'remotes/origin/master' into tm_zero_elev_ui
2019-08-08 08:43:00 +02:00
Lukas Matena
1789179506
GLGizmoSlaSupports.cpp: unproject_on_mesh does not throw exceptions but uses bool return value to signal success
2019-08-07 16:17:41 +02:00
tamasmeszaros
ada43e7add
Merge branch 'master' into tm_zero_elev_ui
2019-08-07 15:53:41 +02:00
bubnikv
ed2ca9ab0b
Merge remote-tracking branch 'remotes/origin/ys_printable_property' into vb_picking_fix
2019-08-07 15:44:25 +02:00
YuSanka
850fbdbe56
Added snapshot taking for Set Printable/Unprintable for full object
2019-08-07 15:39:46 +02:00
bubnikv
841d0796b7
Fix of the SLA gizmo picking.
2019-08-07 15:36:09 +02:00
bubnikv
7cef1292b2
Yet another fix of the preceding commit.
2019-08-07 15:03:43 +02:00
bubnikv
a19a506ad8
GLCanvas requires 8bit alpha channel for picking checksums.
2019-08-07 14:55:34 +02:00
bubnikv
abd89e4f9a
Merge remote-tracking branch 'remotes/origin/master' into vb_picking_fix
2019-08-07 14:31:16 +02:00
bubnikv
83ed1bed16
Merge remote-tracking branch 'remotes/origin/ys_printable_property' into vb_picking_fix
2019-08-07 14:31:00 +02:00
YuSanka
d25c5e0473
Added printable state update on canvas from Undo/redo
2019-08-07 14:28:46 +02:00
bubnikv
2d7f478dac
Finished picking by color with a checksum in the alpha channel
...
to guard against unwanted alpha blending and / or multi sampling.
2019-08-07 14:15:38 +02:00
YuSanka
abe16fa22e
Added printable property for object with instances
2019-08-07 14:11:41 +02:00
Lukas Matena
8e4f777bd3
One more fix on the empty layers detection - support contact z distance is taken into account
...
If it wasn't, anything with raft would be rejected unless contact z was zero. We do not want that.
2019-08-07 12:02:30 +02:00
bubnikv
2ad3c05a65
WIP: Improvement in the picking robustness: store a checksum
...
into the alpha channel.
2019-08-07 11:37:38 +02:00
tamasmeszaros
1c479ad6c5
Fix build without PCH
2019-08-07 11:17:17 +02:00
bubnikv
a58b1844e0
WIP: Picking fix - disable alpha blending and render with false colors
...
including the alpha channels, which have their 3 lowest bits set to zero.
In case some blending occurs, the lowest 3 bits will likely be used
to interpolate between the false colors, therefore the 3 lowest bits
may be used to detect alpha blending or multi-sampling.
2019-08-07 11:14:04 +02:00
Lukas Matena
f61c982111
GCode.cpp: fixed detection of empty layers so it doesn't give false positives
...
That could happen on empty support layers which do not necessarily matter, since their spacing is not generally synchronized with the object
The new hopefully correct logic is "if there are extrusions on a layer, check that last layer with extrusions is at most the new layer height below
This is a fixup of changes from 0de6e53
and 6ab1cec
2019-08-07 10:54:36 +02:00
bubnikv
2f642ffffb
ModelInstance::is_printable() takes into account printability
...
of the parent ModelObject.
2019-08-07 10:18:16 +02:00
bubnikv
b7a8e51907
Merge remote-tracking branch 'remotes/origin/master' into ys_printable_property
2019-08-07 08:43:11 +02:00
Vojtech Bubnik
5ee69842d0
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-06 19:53:47 +02:00
Vojtech Bubnik
d36c64873d
Fix of a Linux / GTK specific crash on deleting of Layers from the side panel: wxWidgets / GTK internally delays the EnsureVisible() call to Idle processing. If the item is deleted after EnsureVisible() is planned and before the Idle processed, the Idle processing routine works with deleted data
2019-08-06 19:53:20 +02:00
YuSanka
91e0b7aa9a
Fixed control of options category for single material profiles
2019-08-06 19:02:17 +02:00
tamasmeszaros
b8bfe001c0
WIP: Pad quick-menu
2019-08-06 18:16:02 +02:00
bubnikv
621a552dc0
Redirect requests for the Prusa web pages with Slovak locale active
...
to Czech web pages.
2019-08-06 17:27:36 +02:00
bubnikv
4dd9817176
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-06 17:10:39 +02:00
bubnikv
c7962b5c20
Added missing include
2019-08-06 17:10:03 +02:00
tamasmeszaros
92e1649606
Merge branch 'master' into tm_zero_elev_ui
2019-08-06 16:54:46 +02:00
tamasmeszaros
09ffbc9d4c
Add new entry to keyboard shortcuts for 'arrange selection'
2019-08-06 16:53:17 +02:00
tamasmeszaros
3c09473f2a
Added additional checkbox to enable zero elevation
2019-08-06 16:51:32 +02:00
YuSanka
35a06d5bf4
Merge remote-tracking branch 'origin' into ys_printable_property
2019-08-06 16:28:25 +02:00
YuSanka
8a2362587d
Save/load printable flag to/from 3mf and amf
2019-08-06 16:27:56 +02:00
bubnikv
9905f8d349
Fix of the previous commit: zero extrusion width parameter is
...
always valid, it is replaced with an "auto" value.
2019-08-06 15:36:16 +02:00
bubnikv
74e592ceaa
Improved handling of excessive extrusion width values (too small
...
or too big).
Fixes std: bad_alloc #2715
2019-08-06 15:11:46 +02:00
bubnikv
29d9c65ee2
Missing include (required by clang, not required by msvc)
2019-08-06 11:40:33 +02:00
bubnikv
9197e3feed
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-06 11:29:39 +02:00
bubnikv
e1ff808f14
Fixed parallelization of texture compression:
...
Memory synchronization (memory barriers) are introduced using
std::atomic variables.
2019-08-06 11:29:26 +02:00
YuSanka
0520da3241
Merge remote-tracking branch 'origin' into ys_printable_property
2019-08-06 10:31:17 +02:00
YuSanka
b43f7c3880
Generated new POT-file
...
Fixed lines with translation of the empty strings
2019-08-06 10:01:10 +02:00
YuSanka
13ee32538a
Fixed selection after multiple selected Copy/Paste
2019-08-06 09:41:09 +02:00
Lukas Matena
b0d4cb6e06
Memory usage is now shown in SysInfoDialog on all three platforms
2019-08-05 20:17:29 +02:00
bubnikv
ef0e323d1b
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-05 17:49:31 +02:00
bubnikv
cf2f16d864
Fixed Model::convert_multipart_object() for STLs (regression from 8e2af5151dcf6f102b65981ff5aa56c2dfda5a2a).
...
Removed Model::s_auto_extruder_id and related, as it is a Perl interfacing legacy.
Fixed a typo in asserts introduced in the preceding commit.
2019-08-05 17:49:21 +02:00
Lukas Matena
6da196b419
Corrected return value of ConfigOptionVector::apply_override to what was intended (this didn't cause any bug though, the return value is currently not used)
2019-08-05 15:24:49 +02:00
YuSanka
4152a5df43
Implemented update on canvas of a printable state for new volumes added from ObjectList
2019-08-05 14:57:30 +02:00
bubnikv
219521f6ad
Wording improvmenet of some error message.
2019-08-05 14:54:29 +02:00
bubnikv
c91df2c769
Fixed a typo in print_host variable name
2019-08-05 14:36:50 +02:00
bubnikv
7e1d2daf78
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-05 14:30:42 +02:00
bubnikv
731e5abd88
Fixed a regression issue where excessive memory was allocated
...
for the GLVolumes before sending to the GPU driver. The following commits
were partially reverted:
4269c8b23c
Removed GLVolume non-VBO rendering
d15698e21e
GLVolume and GLIndexedVertexArray refactored to send data to gpu at the first render call
Namely, the GLVolume buffers are "shrink to size"'d before sending their
content to the OpenGL driver, and the vertex buffers are populated
as quickly as possible from the GLVolume, so that the same buffer is not
kept twice in RAM on systems, where the RAM is shared with the graphics
card.
Also the memory allocation reporting was improved for the GLVolumes.
2019-08-05 14:30:32 +02:00
Lukas Matena
3efae8a03e
Added a memory logging function for Mac and Linux
2019-08-05 13:39:03 +02:00
YuSanka
9b5a577c07
Fixed OnContextMenu() under OSX
2019-08-05 11:02:56 +02:00
YuSanka
e8f27c6407
Added call a toggle printable property for instance from ObjectList
2019-08-05 10:05:28 +02:00
YuSanka
825446d145
Merge remote-tracking branch 'origin/master' into ys_printable_property
2019-08-05 08:45:47 +02:00
YuSanka
f712e5fcf4
Implemented set printable state for ObjectList
2019-08-05 08:44:55 +02:00
Lukas Matena
0de6e53219
Followup of 6ab1cec
- empty layers are ok if there are only other empty layers on top of them
...
Also fixed a possible crash in Print.cpp when preparing the wipe tower layers
2019-08-04 22:57:59 +02:00
Enrico Turri
8078e00c13
Fixed automatic update of perspective camera
2019-08-03 09:07:38 +02:00
Enrico Turri
77df54947b
Follow-up of c791ba776f
-> Estimated times for color print layed-out as 'time for color (remaining time at color start)'
2019-08-03 08:51:03 +02:00
YuSanka
eaccd73756
Added InvalidItem() to ObjectDataViewModel to controling if item till exist during multiple deleting
...
+ some code cleaning
2019-08-02 17:53:35 +02:00
Lukas Matena
6ab1cec48c
Empty layers detection added to GCode.cpp
...
Added detection of empty layers so the wipe tower doesn't trip on them (it is not printable anyway).
This should improve wipe tower reliability with supports, objects standing on edges, etc.
I also turned an assert into exception throw to prevent hard crashes and nonsense output.
2019-08-02 16:54:18 +02:00
YuSanka
3b24565411
Fixed wrong naming of bottom infill pattern
2019-08-02 16:16:12 +02:00
Enrico Turri
be72e23dec
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-08-02 15:30:59 +02:00
Enrico Turri
1cdc3e0493
Workaround for gizmos being clipped by the perspective camera
2019-08-02 15:30:37 +02:00
Vojtech Kral
bfb135bcc3
Comment out stale implementation in Serial, fix #2150
2019-08-02 15:20:52 +02:00
Enrico Turri
c791ba776f
Added absolute time to estimated time for color print and fixed a bug in showing estimated times for print color for silent mode
2019-08-02 12:05:02 +02:00