Skip to content

Commit

Permalink
Measure: Fix VPMeasurePosition is not initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
hlorus committed Jan 5, 2024
1 parent 8f8eda9 commit 4e2ffe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Measure/App/MeasureBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class AppExport MeasureBase : public App::DocumentObject
~MeasureBase() override = default;

App::PropertyPlacement Placement;
App::PropertyPosition Position;
// App::PropertyPosition Position;

boost::signals2::signal<void (const MeasureBase*)> signalGuiInit;
boost::signals2::signal<void (const MeasureBase*)> signalGuiUpdate;
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Measure/App/MeasurePosition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void MeasurePosition::parseSelection(const App::MeasureSelection& selection) {
sub.push_back(get<1>(element));

Element.setValue(ob, sub);
return;
break;
}
initialize();
}
Expand Down

0 comments on commit 4e2ffe7

Please sign in to comment.