-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The "Brush Tool" Toolbox item automatically appears when the "polygon" mode is selected, however when switching to a subtask where "polygon" is the default, the toolbox item does not automatically appear.
This is problematic for subtasks with only the "polygon" annotation mode, as there is not a way to coerce the toolbox item into appearing without manually passing a toolbox configuration.
Steps to reproduce:
- Change the
single-class.htmldemo subtasks to the following:
let subtasks = {
"car_detection": {
"display_name": "Car Detection",
"classes": [
{
"name": "Car",
"color": "orange",
"id": 10
}
],
"allowed_modes": ["bbox", "polygon", "contour"],
"resume_from": null,
"task_meta": null,
"annotation_meta": null
},
"car_detection2": {
"display_name": "Car Detection 2",
"classes": [
{
"name": "Car",
"color": "orange",
"id": 10
}
],
"allowed_modes": ["polygon"],
"resume_from": null,
"task_meta": null,
"annotation_meta": null
},
};- Launch the demo
- In the "Car Detection" subtask, select anything but the "polygon" mode
- With to the "Car Detection 2" subtask
- Observe the lack of the brush toolbox item
TrevorBurgoyne
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working