mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 00:05:59 +08:00
Merge branch 'master' of https://github.com/prusa3d/Slic3r
This commit is contained in:
commit
20d9bda87e
@ -1152,11 +1152,7 @@ sub InitGL {
|
|||||||
$self->volumes->finalize_geometry(1)
|
$self->volumes->finalize_geometry(1)
|
||||||
if ($^O eq 'linux' && $self->UseVBOs);
|
if ($^O eq 'linux' && $self->UseVBOs);
|
||||||
|
|
||||||
if (scalar @{$self->volumes} > 0) {
|
|
||||||
$self->zoom_to_volumes;
|
|
||||||
} else {
|
|
||||||
$self->zoom_to_bed;
|
$self->zoom_to_bed;
|
||||||
}
|
|
||||||
|
|
||||||
glClearColor(0, 0, 0, 1);
|
glClearColor(0, 0, 0, 1);
|
||||||
glColor3f(1, 0, 0);
|
glColor3f(1, 0, 0);
|
||||||
|
@ -359,6 +359,11 @@ Updates PresetUpdater::priv::get_config_updates() const
|
|||||||
const auto cached_vp = VendorProfile::from_ini(path_in_cache, false);
|
const auto cached_vp = VendorProfile::from_ini(path_in_cache, false);
|
||||||
if (cached_vp.config_version == recommended->config_version) {
|
if (cached_vp.config_version == recommended->config_version) {
|
||||||
updates.updates.emplace_back(std::move(path_in_cache), std::move(bundle_path), *recommended);
|
updates.updates.emplace_back(std::move(path_in_cache), std::move(bundle_path), *recommended);
|
||||||
|
} else {
|
||||||
|
BOOST_LOG_TRIVIAL(warning) << boost::format("Vendor: %1%: Index indicates update (%2%) but cached bundle has a different version: %3%")
|
||||||
|
% idx.vendor()
|
||||||
|
% recommended->config_version.to_string()
|
||||||
|
% cached_vp.config_version.to_string();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user