Changeset 8781:3d8b9d329e69 in orange


Ignore:
Timestamp:
08/25/11 16:31:07 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
8c61f026a8f073c48e8efdf31a1be07ee50db9dc
Message:

Added init call (object got deleted otherwise)

File:
1 edited

Legend:

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

    r8754 r8781  
    2525 
    2626import orange 
     27import orangeqt 
    2728 
    2829import OpenGL 
     
    327328        self.axis_values_color = [0.1, 0.1, 0.1, 1.] 
    328329 
    329 class OWPlot3D(QtOpenGL.QGLWidget): 
     330class OWPlot3D(orangeqt.Plot3D): 
    330331    def __init__(self, parent=None): 
    331         QtOpenGL.QGLWidget.__init__(self, QtOpenGL.QGLFormat(QtOpenGL.QGL.SampleBuffers), parent) 
     332        orangeqt.Plot3D.__init__(self, parent) 
     333        #QtOpenGL.QGLWidget.__init__(self, QtOpenGL.QGLFormat(QtOpenGL.QGL.SampleBuffers), parent) 
    332334 
    333335        self.camera_distance = 3. 
Note: See TracChangeset for help on using the changeset viewer.