Changeset 8807:8a59bba86e31 in orange


Ignore:
Timestamp:
08/26/11 15:35:02 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
fd47e270015155071825e1bcabfad72aa9cecb34
Message:

Prevented recompiling cone shader every time setData is called

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Visualize Qt/OWLinProj3DPlot.py

    r8794 r8807  
    3939    def setData(self, data, subsetData=None, **args): 
    4040        ScaleLinProjData3D.setData(self, data, subsetData, **args) 
     41 
     42        if hasattr(self, 'cone_vao_id'): 
     43            return 
     44 
    4145        self.makeCurrent() 
    4246        self.state = PlotState.IDLE # Override for now, apparently this is modified by OWPlotGUI 
Note: See TracChangeset for help on using the changeset viewer.