This commit is contained in:
PJarczak 2026-04-22 07:30:33 +02:00
parent ec7a205e65
commit 6040b38daa
4 changed files with 13 additions and 3 deletions

View file

@ -4285,6 +4285,16 @@ void PartPlateList::reset(bool do_init)
}
//reset partplate to init states
void PartPlateList::detach_plater()
{
m_plater = nullptr;
for (PartPlate* plate : m_plate_list) {
if (plate != nullptr)
plate->detach_plater();
}
unprintable_plate.detach_plater();
}
void PartPlateList::reinit()
{
clear(true, true);

View file

@ -700,6 +700,7 @@ public:
//reset partplate to init states
void reinit();
void detach_plater();
//get the plate stride
double plate_stride_x();

View file

@ -299,7 +299,7 @@ int BBLNetworkPlugin::initialize(bool using_backup, const std::string& version)
if (pj_bridge && loaded_version.empty()) {
set_load_error(
"Linux bridge payload not ready",
"Bridge DLL loaded, but the WSL2 linux payload handshake did not return a version",
"Bridge module loaded, but the linux payload handshake did not return a version",
library
);
unload();

View file

@ -50,8 +50,7 @@ trim_file() {
if [[ ! -f "$path" ]]; then
return 1
fi
LC_ALL=C tr -d '
' < "$path" | head -n 1 | sed 's/^[[:space:]]*//;s/[[:space:]]*$//'
LC_ALL=C tr -d '\r' < "$path" | head -n 1 | sed 's/^[[:space:]]*//;s/[[:space:]]*$//'
}
find_limactl() {