void repo::gui::RepoWidgetAssimpFlags::setPredefinedSettings(int selection)
{
    switch (selection)
    {
    case DEFAULT :
        reset();
        break;
    case DIRECT_3D :
        reset();
        setDirect3D();
        break;
    case BASIC :
        reset();
        setBasic();
        break;
    case MEDIUM :
        reset();
        setMedium();
        break;
    case EXTREME :
        reset();
        setExtreme();
        break;
    }
}
void repo::gui::RepoWidgetAssimpFlags::setExtreme()
{
    setMedium();
    ui->findInstancesCheckBox->setChecked(true);
    ui->validateDataStructuresCheckBox->setChecked(true);
    ui->optimizeMeshesCheckBox->setChecked(true);
    ui->deboneGroupBox->setChecked(true);
}
Esempio n. 3
0
void Seed::populate(History &history){
    this->history = &history;
    this->history->setPresent();
    setTraversal();
    setSurfaceShape();
    setSurfaceType();
    setMedium();
    setLightType();
}
Esempio n. 4
0
void K3bMediaContentsView::reload( const K3bMedium& m )
{
  setMedium( m );
  reload();
}