Plater -> View Menu

This commit is contained in:
Enrico Turri 2018-10-17 12:59:58 +02:00
parent 7d1828df05
commit 2e274b5646
4 changed files with 32 additions and 21 deletions

View file

@ -3204,7 +3204,7 @@ void GLCanvas3D::select_view(const std::string& direction)
else if (direction == "rear")
dir_vec = VIEW_REAR;
if ((dir_vec != nullptr) && !empty(volumes_bounding_box()))
if (dir_vec != nullptr)
{
m_camera.phi = dir_vec[0];
m_camera.set_theta(dir_vec[1]);