Make sure picking of text and reach circle annotations isn't enabled after loading project

This commit is contained in:
Gaute Lindkvist
2019-04-12 13:58:54 +02:00
parent 9aa7ac2591
commit 89a16103c9
6 changed files with 23 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ void RicCreateReachCircleAnnotationFeature::onActionTriggered(bool isChecked)
auto newAnnotation = new RimReachCircleAnnotation();
auto newColor = RiaColorTables::categoryPaletteColors().cycledColor3f(coll->lineBasedAnnotationsCount());
newAnnotation->appearance()->setColor(newColor);
newAnnotation->enablePicking(true);
coll->addAnnotation(newAnnotation);
coll->updateConnectedEditors();
RiuMainWindow::instance()->selectAsCurrentItem(newAnnotation);