Skip to content

Commit 6a82a83

Browse files
committed
set to normal constellation by default
1 parent 6c49298 commit 6a82a83

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

plugins/SkyCultureMaker/src/ScmDraw.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ void scm::ScmDraw::resetDrawing()
491491
drawState = Drawing::None;
492492
lastEraserPos = defaultLastEraserPos;
493493
activeTool = DrawTools::None;
494+
drawingMode = DrawingMode::StarsAndDSO;
494495
std::get<CoordinateLine>(currentLine).start.set(0, 0, 0);
495496
std::get<CoordinateLine>(currentLine).end.set(0, 0, 0);
496497
std::get<StarLine>(currentLine).start.reset();

plugins/SkyCultureMaker/src/gui/ScmConstellationDialog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ void ScmConstellationDialog::resetDialog()
492492
ui->penBtn->setChecked(false);
493493
ui->eraserBtn->setChecked(false);
494494
maker->setDrawTool(scm::DrawTools::None);
495+
setIsDarkConstellation(false);
495496

496497
constellationId.clear();
497498
ui->idTE->clear();

0 commit comments

Comments
 (0)