+ fixes #0000957: Sketch view problem when go to edit

This commit is contained in:
wmayer
2014-12-27 17:50:37 +01:00
parent b172e069a1
commit 7149cce90f
2 changed files with 22 additions and 0 deletions

View File

@@ -440,6 +440,7 @@ void NavigationStyle::setCameraOrientation(const SbRotation& rot, SbBool moveToC
// due to possible round-off errors make sure that the
// exact orientation is set
cam->orientation.setValue(rot);
cam->position = PRIVATE(this)->focal2 - cam->focalDistance.getValue() * direction;
}
}
else {