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