mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 01:25:56 +08:00
Fix typo in drag_start_pos assignment.
This commit is contained in:
parent
deb0bf4185
commit
bb615f5414
@ -183,10 +183,10 @@ void Plate2D::mouse_down(wxMouseEvent& e) {
|
||||
auto& instance {this->model->objects.at(obj_idx)->instances.at(instance_idx)};
|
||||
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.y - instance_origin.y,
|
||||
)};
|
||||
point.y - instance_origin.y
|
||||
);
|
||||
|
||||
this->drag_object = { obj_idx, instance_idx };
|
||||
this->selected_instance = this->drag_object;
|
||||
|
Loading…
x
Reference in New Issue
Block a user