mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-30 21:09:19 +01:00
Fix the connect actions.
This commit is contained in:
parent
fe18c0f02d
commit
386f52d84b
@ -1595,7 +1595,7 @@ void MDIGizmo::connect_to_first_selected() {
|
|||||||
PoolIntArray ps = _handle_to_vertex_map[_selected_points[i]];
|
PoolIntArray ps = _handle_to_vertex_map[_selected_points[i]];
|
||||||
|
|
||||||
for (int j = 0; j < ps.size(); ++j) {
|
for (int j = 0; j < ps.size(); ++j) {
|
||||||
vertices[ps[j]] = mpos;
|
vertices.set(ps[j], mpos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1648,7 +1648,7 @@ void MDIGizmo::connect_to_avg() {
|
|||||||
PoolIntArray ps = _handle_to_vertex_map[_selected_points[i]];
|
PoolIntArray ps = _handle_to_vertex_map[_selected_points[i]];
|
||||||
|
|
||||||
for (int j = 0; j < ps.size(); ++j) {
|
for (int j = 0; j < ps.size(); ++j) {
|
||||||
vertices[ps[j]] = mpos;
|
vertices.set(ps[j], mpos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1695,7 +1695,7 @@ void MDIGizmo::connect_to_last_selected() {
|
|||||||
PoolIntArray ps = _handle_to_vertex_map[_selected_points[i]];
|
PoolIntArray ps = _handle_to_vertex_map[_selected_points[i]];
|
||||||
|
|
||||||
for (int j = 0; j < ps.size(); ++j) {
|
for (int j = 0; j < ps.size(); ++j) {
|
||||||
vertices[ps[j]] = mpos;
|
vertices.set(ps[j], mpos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user