Skip to content

Commit

Permalink
Closes #2132
Browse files Browse the repository at this point in the history
  • Loading branch information
dcwhite committed Jul 28, 2021
1 parent 38bbcf6 commit c4e491a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Interface/Modules/Render/ViewSceneControlsDock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,15 @@ void CameraLockControls::viewSceneTreeClicked(QTreeWidgetItem* widgetItem, int c
uint32_t g = p->data(1, Qt::EditRole).toInt();
const auto vs = widgetItem->data(1, Qt::EditRole).value<ViewSceneDialog*>();
if (widgetItem->checkState(column) == Qt::Unchecked)
{
ViewSceneDialog::viewSceneManager.removeViewSceneFromGroup(vs, g);
vs->vsLog("");
}
else if (widgetItem->checkState(column) == Qt::Checked)
{
ViewSceneDialog::viewSceneManager.moveViewSceneToGroup(vs, g);
vs->vsLog("Lock set up");
vs->vsLog(tr("In camera lock group %1").arg(g));
}
}

void ColorOptions::setSampleColor(const QColor& color)
Expand Down

0 comments on commit c4e491a

Please sign in to comment.