VOXEDIT: fixed diffuse color update

master
Martin Gerhardy 2022-03-22 21:47:48 +01:00
parent 7422733718
commit 71cba94130
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ void MainWindow::registerPopups() {
col = core::Var::getSafe(cfg::VoxEditDiffuseColor)->vec3Val();
if (ImGui::ColorEdit3("Ambient color", glm::value_ptr(col))) {
const core::String &c = core::string::format("%f %f %f", col.x, col.y, col.z);
core::Var::getSafe(cfg::VoxEditAmbientColor)->setVal(c);
core::Var::getSafe(cfg::VoxEditDiffuseColor)->setVal(c);
}
#if 0