1514 Commits

Author SHA1 Message Date
chunmao.guo
079d41f91a FIX: use shmget according to bambu_source
Change-Id: Ic791498d4ef1bb012953783222b21e8a0394e3b8
(cherry picked from commit 2893425cdfb688e1b96a38186abef1450f530685)
2023-02-08 11:19:32 +08:00
tao.jin
e89f535f7e FIX: task thumbnail state update
Change-Id: Ia9cfcf0c05dafbe377f52f63b23cf929ef95874c
2023-02-08 11:19:32 +08:00
Joshua Wise
d1b93c16b9 Linux: ensure that a GLCanvas3D can become active before attempting to start OpenGL (fixes #1149)
On Linux, GLEW requires (at least, in EGL land) that an OpenGL context be
active before glew_Init is called -- otherwise, GLEW doesn't know what
extension symbols to look up.  If glew_Init fails, then some symbols
elsewhere will not exist, and the app will shortly crash.  We work around
this by detecting if we're actually ready for postinit, and if not,
resetting the flag so that wxEVT_IDLE will cause us to try again later, when
the window hopefully has gone into the foreground and is ready to be used.
2023-01-31 09:54:47 +08:00
Joshua Wise
3625922e29 slic3r: address sanitizer cleanup around wipe tower deletion
When determining whether or not we need to update the object list, we check
all of the objects that are being deleted to see if they're a wipe tower.
Unfortunately, by the time we check, the objects have already been deleted,
and the memory has been freed!  Avoid this by writing down for deleted
objects whether they are wipe towers, and if they were, we can indeed skip
updating the object list.
2023-01-31 09:54:47 +08:00
Joshua Wise
21c301ebce slic3r: address sanitizer cleanup in GLVolume
Now that GLVolume has a subclass, GLWipeTowerVolume, it needs a virtual
destructor, too.  See:

  https://stackoverflow.com/questions/41552966/getting-new-delete-type-mismatch-from-asan
2023-01-31 09:54:47 +08:00
Joshua Wise
3b21f7f33f slic3r: address sanitizer cleanup in TreeSupport::generate_contact_points
In generate_contact_points, the rotated_dims don't actually generate a
Point, but generate an abstract expression that holds a reference to
bounding_box_size.  Unfortunately, this goes wrong because bounding_box_size
ages out instantly; GCC's Address Sanitizer complains that this is a
"stack-use-after-scope" issue.

Interestingly, the Eigen documentation says that this is a known problem
with using C++11 "auto" to generate matrices (which a Point is)!  It is
buried here: https://eigen.tuxfamily.org/dox/TopicPitfalls.html

This is probably an extremely theoretical correctness improvement, and also
an extremely theoretical performance improvement.  But it is an improvement
nonetheless, and, more importantly, it enables me to continue to run the
slicer with Address Sanitizer turned on to find other potential issues.
2023-01-31 09:54:47 +08:00
Joshua Wise
6bca37f701 slic3r: address sanitizer cleanup in ImGuiWrapper::load_svg
ImGuiWrapper::load_svg previously could load an image that was not of the
aspect ratio specified by the target_width and target_height, and as a
result, could create an output vector that was smaller (or differently
shaped!) than the target_width and target_height.  GCC's Address Sanitizer
flagged this because init_font was reading over the end of the allocated
buffer, but this also meant that images with incorrect aspect ratios might
get rendered to the font canvas incorrectly.

To solve this, we pass the generated width and height out from load_svg, and
use it when copying images later.
2023-01-31 09:54:47 +08:00
lane.wei
9cb3d955df ENH: refine the timestamp when using P1P
the timestamp of mjpeg is not accurate
we simulate one

Change-Id: I9198f1ba930994cc4f86e8d3a3c778539d04ccb3
2023-01-30 09:26:24 +08:00
qing.zhang
d004cbdd66 ENH: updare end gcode and max_vol of TPU 95A
1 extrude move to dustbin
2 max vol of TPU 95A of X1 to 3.6

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0b9d2a1db9c57c58255f95aad8a77772317a3ec9
2023-01-30 09:26:18 +08:00
Joshua Wise
40ee2698e7 Linux: MediaPlayCtrl: make playback more reliable with wxUSE_GSTREAMER_PLAYER for systems that have that 2023-01-28 19:35:59 +08:00
lane.wei
9f323d4197 ENH: add the liveview support of P1P
P1P uses Mjpeg instead of h264
2023-01-28 12:13:16 +08:00
lane.wei
69b884e585 FIX: fix the crash issue when switch timelapse_mode or spiral mode
previous commit only fix the crash when switch spiral_mode
and will cause crash when switch timelapse_mode

Change-Id: If21acf3701e9519de55a08e183620678378f61b9
2023-01-28 11:53:46 +08:00
lane.wei
261058d122 FIX: fix a crash issue when setting spiral mode while wipe_tower disabled
wrong type used by boost::any_cast

Change-Id: Ic902c5775bc3cf1f22cb934c53b3ff4afa190e9f
2023-01-24 21:09:55 +08:00
Stone Li
e68ae05d94 FIX: fix blank filaments in French
Change-Id: I13395432d27a6a573a3ee357233b0623ba5a6ad7
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-24 21:09:55 +08:00
Stone Li
654b5982e1 FIX: fix blank error msg of slicing warning
Change-Id: Idca57158b0139411a775a6b83cce2200694a5f2d
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-24 21:09:55 +08:00
chunmao.guo
d667bf3d5f FIX: patch boost limit_handles
Change-Id: Id155b1c23e19b4cbf7c4bea18ce138511d5f2b8f
2023-01-24 21:09:33 +08:00
gerrit
60b665c4b5 ci: update build version to 01.04.02.13
Change-Id: Id012c13680a1ec1c20a4f323b8ccdf015762dcca
v01.04.02.13
2023-01-19 14:21:32 +08:00
lane.wei
e2049a2970 ENH: update the translation
Change-Id: I146a54d975cdbaf8102d695b1b0d5bbd41390f23
2023-01-19 14:21:32 +08:00
tao wang
954a573e72 ENH:update ui layout for ip address dialog
Change-Id: I0095928e8c3951597d14783e1d4ef904946da993
2023-01-19 14:21:32 +08:00
gerrit
7c1dd2164a ci: update build version to 01.04.02.12
Change-Id: Ide3279e1fe3bb625399f9f83b5c04c237a0f92bb
2023-01-19 10:16:10 +08:00
tao wang
dd04fa8bef ENH:update chinese translation about input ip address and access code
Change-Id: I56596e924f8705cf7adf226f560a5f80b20d4129
2023-01-19 10:16:10 +08:00
gerrit
c8f6109890 ci: update build version to 01.04.02.11
Change-Id: I649340be1b52fbe03d99cd042fe0984a34783e4f
2023-01-19 10:16:10 +08:00
tao wang
7a452c24b0 FIX:fixed input ip dlg cant skip next step when playing liveview
Change-Id: I43c804babfc5e386f1218c9546acbf612d07703c
2023-01-19 10:16:10 +08:00
gerrit
b3755697cf ci: update build version to 01.04.02.10
Change-Id: Ic3fa981b63bc4a54921a7618abb1728061664101
2023-01-19 10:16:10 +08:00
tao wang
792e337570 ENH:select vams when none ams mode
Change-Id: Id47e2e89d7b6661cb2f6b147f82bd699237396c9
2023-01-19 10:16:10 +08:00
tao wang
83c7760334 ENH:C11 printer will not check ip and access code
Change-Id: Ib103ddb848a1ef835582b62c9de22ac17b9fa426
2023-01-19 10:16:10 +08:00
chunmao.guo
d4a78cb246 FIX: not play liveview when device is busy downloading
Change-Id: I48dc1c28fc78d69bfd37d1b531aa7daf5e6e4cbd
2023-01-19 10:16:10 +08:00
Stone Li
fe689ca197 FIX: fix crash in ota version
Change-Id: Ieec2976c48033bea18c8b00a8a70c89c9a7e1880
2023-01-19 10:16:10 +08:00
gerrit
6bbc3c6a26 ci: update build version to 01.04.02.09
Change-Id: I7d031a54b5bbe0e4a8e75008e2d7200a9f37e12b
2023-01-19 10:16:10 +08:00
tao wang
c86571eec6 ENH:update the title text of the enter ip address
Change-Id: I308b72cfa1dfcd138c3314f60db0556adae805dc
2023-01-19 10:16:10 +08:00
tao wang
b307994cbd ENH:Update IP address input process
Change-Id: Iaf1c187dac117ba10ac16045049a346f7c2b9478
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:10 +08:00
liz.li
6b9dceab11 FIX:macos bitmap display problem
Change-Id: Id72ed155151fee4d1bcb6754fa5e6904bebcd98a
2023-01-19 10:16:10 +08:00
gerrit
0cd72385c2 ci: update network module based on commit 73482dc
Change-Id: I18583c8ed947852566ae67ff3aa0f12b1985c2cc
2023-01-19 10:16:10 +08:00
lane.wei
698d51c274 FIX: boost: fix the patch failed issue of boost
Change-Id: I6f689cd6dc08964cb759d09798b2bbe64c7aae85
2023-01-19 10:16:10 +08:00
chunmao.guo
85db77f989 FIX: [STUDIO-2065] icon action in ObjectList on macOS not work
Change-Id: I0b7d61a80afaeede3c7fb23afce9034a0b3bcaa6
2023-01-19 10:16:10 +08:00
salt.wei
c8f506b727 ENH: total layer number is wrong when enable support
This is fix for jira 2061

Layer height is double and may has small difference, which
influence total layer number when support is enabled.

Should use int data and consider EPSION when calculate total
layer number.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I1bb6c89f2afd162d2d7e7dcff4a9d6a00b94dab3
2023-01-19 10:16:09 +08:00
gerrit
e062828f81 ci: update build version to 01.04.02.08
Change-Id: Ie2bb6838bb921829223455b180d930cb93a2f4ea
2023-01-19 10:16:09 +08:00
Stone Li
c20aa9ed9d ENH: refine extrusion_cali_set command for factor k
fix enable status of confirm btn in ams settings dlg

Change-Id: I25c11078bb723647fac6370f966c74c807362e21
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:09 +08:00
chunmao.guo
772fe0f83f FIX: open media play 2 seconds later when switch device
Change-Id: I58d0cdc7581c7d0ef8b9081d1909b6d813406dd8
(cherry picked from commit fc191b9e6a53d954056a434d075cd25efa9853fd)
2023-01-19 10:16:09 +08:00
gerrit
685bcfb8e7 ci: update build version to 01.04.02.07
Change-Id: Idc562e5a56e29fa70fdef7739d8c22568b310e28
2023-01-19 10:16:09 +08:00
Stone Li
8fc57fd1ca FIX: fix print error tips
Change-Id: Iaf857e72f72d428ad3a361243818cdfcbb11a183
2023-01-19 10:16:09 +08:00
salt.wei
1483f22166 ENH: fix the issue about forcing cooling of pa-cf
For pa-cf, the default setting of cooling is
forcing cooling for all outer wall.

And internal tester found that the slowing down by
layer time does not work for outer wall under
this situation.

This is fix for this issue.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I05aaa16d246f5ea6dc1ae9808050e1281646e184
(cherry picked from commit c6b8f9b1570746ae8eaa9efdddb550b46d98264c)
2023-01-19 10:16:09 +08:00
salt.wei
f8da354f4e ENH: fix issue that sommetimes no wipe path is generated
This is handling for github issue #1072

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I253be46b07054eb69ddbad3889e31dfca57b2a52
2023-01-19 10:16:09 +08:00
gerrit
2df2ba94f9 ci: update build version to 01.04.02.06
Change-Id: I1f65dcd2b2bb46e60cac755aecc5deef66c6847b
2023-01-19 10:16:09 +08:00
Stone Li
aaa7d0f1cd ENH: update po files of Bambu Studio
Change-Id: I7ecdf97dd22e7b0dc6c841b50962cf6a319013d8
2023-01-19 10:16:09 +08:00
tao wang
5c280f0aae FIX:Fix UI display error without AMS mode
Change-Id: Ida20f405d6c5a99ba6a8c437a7201b8ebd7fbad2
2023-01-19 10:16:09 +08:00
Stone Li
5edefdd686 FIX: fix display error in virtual tray
refine description for ams not connected

Change-Id: Ic4c01e69cfd9385548a497af5c5c3071614067a2
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:09 +08:00
gerrit
9b715f8fcb ci: update build version to 01.04.02.05
Change-Id: I4e36b0d09bf2dac43868737f11a0868769586152
2023-01-19 10:16:09 +08:00
Stone Li
b6a937ae8a ENH: set timeout for starting extrusion to 20
Change-Id: Iae718e324170028121ca32e9653acac7b7b301f4
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:09 +08:00
gerrit
aa3fff39b0 ci: update build version to 01.04.02.04
Change-Id: I9ae952f09d466ac51de85c5e01de80065dd3ba86
2023-01-19 10:16:09 +08:00