Skip to content

Commit

Permalink
Merge branch 'devel' into recorder
Browse files Browse the repository at this point in the history
  • Loading branch information
klonyyy committed Dec 14, 2024
2 parents 57e355e + 06d490a commit 5145c97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DataHandler/ViewerDataHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ void ViewerDataHandler::createSampleList()
if (!checkIfElementExists(newElement))
sampleList.push_back(newElement);
}

variable->setValue(0.0);
}

/* mark actively sampled variables */
Expand Down
3 changes: 3 additions & 0 deletions src/Gui/GuiVariablesEdit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,10 @@ class VariableEditWindow
std::string base = "";

if (!selectionBase.empty())
{
base = *selectionBase.begin();
shouldUpdate = true;
}
else if (fractional.baseVariable != nullptr)
base = fractional.baseVariable->getName();
else
Expand Down

0 comments on commit 5145c97

Please sign in to comment.