Skip to content

Commit

Permalink
make color dialog in material panel modal but apply color directly to…
Browse files Browse the repository at this point in the history
… shape
  • Loading branch information
wwmayer committed Oct 2, 2016
1 parent ddd4c45 commit 147788d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Gui/DlgMaterialPropertiesImp.cpp
Expand Up @@ -52,10 +52,12 @@ DlgMaterialPropertiesImp::DlgMaterialPropertiesImp(const std::string& mat, QWidg
this->diffuseColor->hide();
}

ambientColor->setModal(false);
diffuseColor->setModal(false);
emissiveColor->setModal(false);
specularColor->setModal(false);
//#if !defined(Q_WS_MAC)
ambientColor->setAutoChangeColor(true);
diffuseColor->setAutoChangeColor(true);
emissiveColor->setAutoChangeColor(true);
specularColor->setAutoChangeColor(true);
//#endif
}

/**
Expand Down

0 comments on commit 147788d

Please sign in to comment.