Fixed top-down camera switching

This commit is contained in:
Michaël Lemaire 2015-08-26 00:49:52 +02:00
parent 0cf8b0fcee
commit 45f10440ec

View file

@ -81,8 +81,7 @@ void ModelerCameras::changeActiveCamera(const QString &name)
} }
else if (name == "Top-down camera") else if (name == "Top-down camera")
{ {
topdown->setLocation(render->getLocation()); render->copy(topdown);
topdown->setTarget(render->getTarget());
topdown->strafeForward(-10.0); topdown->strafeForward(-10.0);
topdown->strafeUp(25.0); topdown->strafeUp(25.0);