Skip to content

Commit

Permalink
Fixed label colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ActiveChooN committed Dec 14, 2021
1 parent 48f044b commit 285d2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/dataset_manager/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def import_labels_to_project(project_annotation, dataset: Dataset):
color=get_label_color(label.name, label_colors)
)
labels.append(db_label)
label_colors.append(label.color)
label_colors.append(db_label.color)
project_annotation.add_labels(labels)

def load_dataset_data(project_annotation, dataset: Dataset, project_data):
Expand Down

0 comments on commit 285d2d0

Please sign in to comment.