Fem: minor changes

This commit is contained in:
Zheng, Lei
2019-07-13 18:19:00 +08:00
committed by wmayer
parent 11a93a0578
commit 435815ccc8
2 changed files with 4 additions and 4 deletions

View File

@@ -89,9 +89,9 @@ template<> const char* Fem::FemAnalysisPython::getViewProviderName(void) const {
return "FemGui::ViewProviderFemAnalysisPython";
}
template<> void Fem::FemAnalysisPython::Restore(Base::XMLReader& reader) {
FemAnalysis::Restore(reader);
}
// template<> void Fem::FemAnalysisPython::Restore(Base::XMLReader& reader) {
// FemAnalysis::Restore(reader);
// }
//template<> PyObject* Fem::FemAnalysisPython::getPyObject(void) {
// if (PythonObject.is(Py::_None())) {
// // ref counter is set to 1

View File

@@ -77,7 +77,7 @@ bool ActiveAnalysisObserver::hasActiveObject() const
void ActiveAnalysisObserver::highlightActiveObject(const Gui::HighlightMode& mode, bool on)
{
if (activeDocument && activeView)
activeDocument->signalHighlightObject(*activeView, mode, on);
activeDocument->signalHighlightObject(*activeView, mode, on, 0, 0);
}
void ActiveAnalysisObserver::slotDeletedDocument(const App::Document& Doc)