Minor bugfixes in world/character editors
This commit is contained in:
parent
57451e231d
commit
af59009b56
|
@ -272,9 +272,7 @@ void CCharacterEditor::ToggleBindPose(bool Enable)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Enable && mPlayAnim)
|
if (Enable && mPlayAnim)
|
||||||
{
|
TogglePlay();
|
||||||
SetAnimTime(0.f);
|
|
||||||
}
|
|
||||||
|
|
||||||
ui->AnimSlider->setEnabled(!Enable);
|
ui->AnimSlider->setEnabled(!Enable);
|
||||||
mBindPose = Enable;
|
mBindPose = Enable;
|
||||||
|
|
|
@ -126,6 +126,7 @@ CWorldEditor::CWorldEditor(QWidget *parent)
|
||||||
connect(ui->ActionDrawCollision, SIGNAL(triggered()), this, SLOT(ToggleDrawCollision()));
|
connect(ui->ActionDrawCollision, SIGNAL(triggered()), this, SLOT(ToggleDrawCollision()));
|
||||||
connect(ui->ActionDrawObjectCollision, SIGNAL(triggered()), this, SLOT(ToggleDrawObjectCollision()));
|
connect(ui->ActionDrawObjectCollision, SIGNAL(triggered()), this, SLOT(ToggleDrawObjectCollision()));
|
||||||
connect(ui->ActionDrawLights, SIGNAL(triggered()), this, SLOT(ToggleDrawLights()));
|
connect(ui->ActionDrawLights, SIGNAL(triggered()), this, SLOT(ToggleDrawLights()));
|
||||||
|
connect(ui->ActionDrawSky, SIGNAL(triggered()), this, SLOT(ToggleDrawSky()));
|
||||||
connect(ui->ActionGameMode, SIGNAL(triggered()), this, SLOT(ToggleGameMode()));
|
connect(ui->ActionGameMode, SIGNAL(triggered()), this, SLOT(ToggleGameMode()));
|
||||||
connect(ui->ActionDisableBackfaceCull, SIGNAL(triggered()), this, SLOT(ToggleBackfaceCull()));
|
connect(ui->ActionDisableBackfaceCull, SIGNAL(triggered()), this, SLOT(ToggleBackfaceCull()));
|
||||||
connect(ui->ActionDisableAlpha, SIGNAL(triggered()), this, SLOT(ToggleDisableAlpha()));
|
connect(ui->ActionDisableAlpha, SIGNAL(triggered()), this, SLOT(ToggleDisableAlpha()));
|
||||||
|
|
Loading…
Reference in New Issue