make color dialog in material panel modal but apply color directly to shape

This commit is contained in:
wmayer 2016-10-02 19:58:08 +02:00
parent ddd4c4560c
commit 147788d8d8

View File

@ -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
}
/**