ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/qtrvu/mainwindow.cxx
(Generate patch)

Comparing ray/src/qtrvu/mainwindow.cxx (file contents):
Revision 1.2 by greg, Wed May 30 18:31:11 2012 UTC vs.
Revision 1.3 by greg, Mon Aug 6 17:51:45 2012 UTC

# Line 686 | Line 686 | void MainWindow::showViewDialog()
686      {
687      m_viewDialogUi->angular->setChecked(true);
688      }
689 +  else if(ourview.type==VT_PLS)
690 +    {
691 +    m_viewDialogUi->planispheric->setChecked(true);
692 +    }
693    else if(ourview.type==VT_CYL)
694      {
695      m_viewDialogUi->cylindrical->setChecked(true);
# Line 743 | Line 747 | void MainWindow::adjustView()
747      {
748      nv.type = VT_ANG;
749      changed = true;
750 +    }
751 +  if(m_viewDialogUi->planispheric->isChecked() && nv.type != VT_PLS)
752 +    {
753 +    nv.type = VT_PLS;
754 +   changed = true;
755      }
756    if(m_viewDialogUi->cylindrical->isChecked() && nv.type != VT_CYL)
757      {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines