Remove new polygon button in 3d view
This commit is contained in:
parent
c7bff62b8c
commit
1da3a67046
1 changed files with 10 additions and 8 deletions
|
@ -83,6 +83,7 @@ fn update_ui_side_panel(
|
|||
}
|
||||
}
|
||||
|
||||
if global_state.view_2d {
|
||||
if global_state.polygon_started {
|
||||
if let Some(polygon) = object_infos.active_polygon() {
|
||||
for (index, point) in polygon.points().iter().enumerate() {
|
||||
|
@ -94,6 +95,7 @@ fn update_ui_side_panel(
|
|||
global_state.polygon_started = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue