Changeset 8794:c8fbd560d4f6 in orange


Ignore:
Timestamp:
08/26/11 11:04:42 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
1610192b6679700f0f893bd53ec0df41ec41a8ba
Message:

Fixed jittering in 3d widgets

Location:
orange/OrangeWidgets/Visualize Qt
Files:
2 edited

Legend:

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

    r8791 r8794  
    106106        if not self.cone_shader.link(): 
    107107            print('Failed to link cone shader!') 
     108 
     109    set_data = setData 
    108110 
    109111    def before_draw(self): 
  • orange/OrangeWidgets/Visualize Qt/OWScatterPlot3D.py

    r8786 r8794  
    5757        if data == None: 
    5858            return 
     59        args['skipIfSame'] = False 
    5960        orngScaleScatterPlotData.set_data(self, data, subset_data, **args) 
    60         OWPlot3D.set_plot_data(self, self.no_jittering_scaled_data, self.no_jittering_scaled_subset_data) 
    61         # TODO: wire jitter settings (actual jittering done in geometry shader) 
     61        OWPlot3D.set_plot_data(self, self.scaled_data, self.scaled_subset_data) 
    6262 
    6363    def update_data(self, x_attr, y_attr, z_attr, 
     
    404404        self.jitter_size_combo = OWGUI.comboBox(box, self, 'plot.jitter_size', label='Jittering size (% of size)'+'  ', 
    405405            orientation='horizontal', 
    406             callback=self.update_plot, 
     406            callback=self.handleNewSignals, 
    407407            items=self.jitter_sizes, 
    408408            sendSelectedValue=1, 
    409409            valueType=float) 
    410410        OWGUI.checkBox(box, self, 'plot.jitter_continuous', 'Jitter continuous attributes', 
    411             callback=self.update_plot, 
     411            callback=self.handleNewSignals, 
    412412            tooltip='Does jittering apply also on continuous attributes?') 
    413413 
Note: See TracChangeset for help on using the changeset viewer.