Fixed a couple of warnings
This commit is contained in:
parent
c03a9d1a3e
commit
a8824d8f59
@ -4614,7 +4614,6 @@ void GLCanvas3D::update_sequential_clearance(bool force_contours_generation)
|
||||
}
|
||||
|
||||
new_hull_2d.reserve(hull_2d.points.size());
|
||||
const Transform3d inv_trafo = trafo.get_matrix().inverse();
|
||||
for (const Point& p : hull_2d.points) {
|
||||
new_hull_2d.emplace_back(Vec3d(unscale<double>(p.x()), unscale<double>(p.y()), 0.0));
|
||||
}
|
||||
|
@ -1615,7 +1615,6 @@ void Selection::render_sidebar_hints(const std::string& sidebar_field)
|
||||
else if (is_single_volume_or_modifier()) {
|
||||
if (!wxGetApp().obj_manipul()->is_world_coordinates()) {
|
||||
if (wxGetApp().obj_manipul()->is_local_coordinates()) {
|
||||
const GLVolume* v = (*m_volumes)[*m_list.begin()];
|
||||
orient_matrix = get_bounding_box_in_current_reference_system().second;
|
||||
orient_matrix.translation() = Vec3d::Zero();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user