Changeset 8821:a64168f31ccf in orange


Ignore:
Timestamp:
08/29/11 00:45:06 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
d8e382967b8153f6bc860b6f07267751fa7a9fd8
Message:

Fixed noob mistake with continuous color attr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeqt/plot3d.cpp

    r8819 r8821  
    143143            color = colors[clamp(int(color_value * num_colors), 0, num_colors-1)]; // TODO: garbage values sometimes? 
    144144        else if (color_index > -1) 
    145             color = QColor(0., 0., color_value); 
     145            color = QColor(0., 0., color_value*255); 
    146146        else 
    147             color = QColor(0., 0., 0.8); 
     147            color = QColor(0., 0., 0); 
    148148 
    149149        float*& dest = selected_indices[index] ? dests : destu; 
Note: See TracChangeset for help on using the changeset viewer.