Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp

    rf10b0c ra14fe3  
    2626
    2727
    28 VectorQtQueryPipe::VectorQtQueryPipe(Parameter<Vector> &_content, QtDialog *_dialog, QComboBox *_theBox) :
     28VectorQtQueryPipe::VectorQtQueryPipe(Vector *_content, QtDialog *_dialog, QComboBox *_theBox) :
    2929  content(_content),
    3030  dialog(_dialog),
     
    3636
    3737void VectorQtQueryPipe::updateX(double newDouble) {
    38   Vector v = content.get();
    39   v[0] = newDouble;
    40   content.set(v);
     38  (*content)[0] = newDouble;
    4139  dialog->update();
    4240}
    4341
    4442void VectorQtQueryPipe::updateY(double newDouble) {
    45   Vector v = content.get();
    46   v[1] = newDouble;
    47   content.set(v);
     43  (*content)[1] = newDouble;
    4844  dialog->update();
    4945}
    5046
    5147void VectorQtQueryPipe::updateZ(double newDouble) {
    52   Vector v = content.get();
    53   v[2] = newDouble;
    54   content.set(v);
     48  (*content)[2] = newDouble;
    5549  dialog->update();
    5650}
Note: See TracChangeset for help on using the changeset viewer.