fix build failure on Windows due to conflicting define of GDI API

This commit is contained in:
wmayer
2019-10-08 14:49:56 +02:00
parent 3006466a39
commit 07975595ba
4 changed files with 16 additions and 15 deletions

View File

@@ -189,7 +189,7 @@ void ViewProviderDocumentObject::onChanged(const App::Property* prop)
else if (prop == &SelectionStyle) {
if(getRoot()->isOfType(SoFCSelectionRoot::getClassTypeId())) {
static_cast<SoFCSelectionRoot*>(getRoot())->selectionStyle = SelectionStyle.getValue()
?SoFCSelectionRoot::BOX:SoFCSelectionRoot::FULL;
? SoFCSelectionRoot::Box : SoFCSelectionRoot::Full;
}
}