updated engine initialization logic;

fade manager is now time-based instead of frame-based;
wiImage moved to namespace instead of static class;
refactors;
editor updates;
contributing updates;
This commit is contained in:
turanszkij
2018-10-26 18:35:11 +01:00
parent cde0cb5fcd
commit 9f056b4cfe
49 changed files with 1630 additions and 1653 deletions
+2 -2
View File
@@ -266,12 +266,12 @@ void MeshWindow::SetEntity(Entity entity)
}
tessellationFactorSlider->SetValue(mesh->GetTessellationFactor());
softbodyCheckBox->SetEnabled(false);
softbodyCheckBox->SetCheck(false);
SoftBodyPhysicsComponent* physicscomponent = wiRenderer::GetScene().softbodies.GetComponent(entity);
if (physicscomponent != nullptr)
{
softbodyCheckBox->SetEnabled(true);
softbodyCheckBox->SetCheck(true);
massSlider->SetValue(physicscomponent->mass);
frictionSlider->SetValue(physicscomponent->friction);
}