Ignore:
Timestamp:
Apr 16, 2013, 4:16:52 AM (7 years ago)
Author:
ldelgass
Message:

Refactor names in particle renderer to match other classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/FlowParticles.cpp

    r3630 r3631  
    7171          getRelativePosition(&_sv.position));
    7272
    73     _renderer->setPos(getRelativePosition(&_sv.position));
    74     _renderer->setAxis(_sv.position.axis);
     73    _renderer->setSlicePosition(getRelativePosition(&_sv.position));
     74    _renderer->setSliceAxis(_sv.position.axis);
    7575    assert(_renderer->active());
    7676    _renderer->render();
     
    8787                                _sv.color.a));
    8888    _renderer->particleSize(_sv.particleSize);
    89     if (_renderer->getAxis() != _sv.position.axis) {
     89    if (_renderer->getSliceAxis() != _sv.position.axis) {
    9090        needReset = true;
    91         _renderer->setAxis(_sv.position.axis);
     91        _renderer->setSliceAxis(_sv.position.axis);
    9292    }
    9393    float pos = getRelativePosition(&_sv.position);
    94     if (_renderer->getPos() != pos) {
     94    if (_renderer->getSlicePosition() != pos) {
    9595        needReset = true;
    96         _renderer->setPos(pos);
     96        _renderer->setSlicePosition(pos);
    9797    }
    9898    _renderer->active(!_sv.isHidden);
Note: See TracChangeset for help on using the changeset viewer.