Skip to content

Commit 8e04a89

Browse files
committed
fix initial sun orientation
1 parent 3145086 commit 8e04a89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontend/explorer/RenderWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ class RenderWidgetInternal {
572572
const auto sunDirName = SceneProperty::fromString("sky_sun_dir");
573573
auto sunDirParameter = std::make_shared<SceneObject>(SceneObject::OT_PARAMETER, "vector", Path{});
574574
sunDirParameter->setProperty("name", sunDirName);
575-
sunDirParameter->setProperty("value", SceneProperty::fromVector3(-default_ea.toDirectionYUp()));
575+
sunDirParameter->setProperty("value", SceneProperty::fromVector3(default_ea.toDirectionYUp()));
576576

577577
const auto upName = SceneProperty::fromString("sky_up");
578578
auto upParameter = std::make_shared<SceneObject>(SceneObject::OT_PARAMETER, "vector", Path{});

0 commit comments

Comments
 (0)