Fix typo in drag_start_pos assignment.

This commit is contained in:
Joseph Lenox 2018-05-09 21:57:04 -05:00 committed by Joseph Lenox
parent deb0bf4185
commit bb615f5414

View File

@ -183,10 +183,10 @@ void Plate2D::mouse_down(wxMouseEvent& e) {
auto& instance {this->model->objects.at(obj_idx)->instances.at(instance_idx)}; auto& instance {this->model->objects.at(obj_idx)->instances.at(instance_idx)};
auto instance_origin { Point::new_scale(instance->offset) }; auto instance_origin { Point::new_scale(instance->offset) };
this->drag_start_pos { Slic3r::Point( this->drag_start_pos = wxPoint(
point.x - instance_origin.x, point.x - instance_origin.x,
point.y - instance_origin.y, point.y - instance_origin.y
)}; );
this->drag_object = { obj_idx, instance_idx }; this->drag_object = { obj_idx, instance_idx };
this->selected_instance = this->drag_object; this->selected_instance = this->drag_object;