Changeset 8989:8797ea028d08 in orange


Ignore:
Timestamp:
09/20/11 13:20:25 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
4e55cac371e7bfe5e1872601f42f4cd31fc97815
Message:

Shift + left click now rotates as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/plot/owplot3d.py

    r8975 r8989  
    105105 
    106106    def _paint(self, widget): 
    107         '''Does all the drawing itself.''' 
    108107        self.widget = widget 
    109108        glDisable(GL_DEPTH_TEST) 
     
    10411040            elif self.state == PANNING: 
    10421041                self._state = PlotState.PANNING 
     1042            elif QApplication.keyboardModifiers() & Qt.ShiftModifier: 
     1043                self._state = PlotState.ROTATING 
    10431044            else: 
    10441045                self._state = PlotState.SELECTING 
Note: See TracChangeset for help on using the changeset viewer.