make color dialog in material panel modal but apply color directly to shape
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user