FEM: Fix linking errors
The static members of FemSetElementNodesObject are not defined in Fem but FemGui which the MSVC compiler doesn't like. Furthermore it's a code smell to make them public and static and they are not even used by the class itself.
This commit is contained in:
@@ -541,7 +541,8 @@ void TaskCreateElementSet::Restore(void)
|
||||
objectN.c_str());
|
||||
Gui::Command::doCommand(Gui::Command::Doc, "App.ActiveDocument.recompute()");
|
||||
}
|
||||
else if (objectN.find(Fem::FemSetElementNodesObject::elementsName) != std::string::npos) {
|
||||
else if (objectN.find(Fem::FemSetElementNodesObject::getElementName())
|
||||
!= std::string::npos) {
|
||||
if (elList > 0) {
|
||||
Gui::Command::doCommand(Gui::Command::Doc,
|
||||
"App.ActiveDocument.removeObject(\'%s\')",
|
||||
|
||||
Reference in New Issue
Block a user