Changeset 8766:5fc95461ccee in orange


Ignore:
Timestamp:
08/24/11 17:36:18 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
f57d795bd85fba0b749387bcf0170860349524ce
Message:

Value lines now scale together with examples

File:
1 edited

Legend:

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

    r8761 r8766  
    161161 
    162162    def _draw_value_lines(self): 
     163        # TODO: performance (VBO) 
    163164        if self.showValueLines: 
    164165            for line in self.value_lines: 
    165166                x, y, z, xn, yn, zn, color = line 
     167                x, y, z = self.plot_scale * [x, y, z] 
    166168                glColor3f(*color) 
    167169                glBegin(GL_LINES) 
Note: See TracChangeset for help on using the changeset viewer.