Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp

    r7b93f9 rf47efd4  
    169169   painter->modelViewMatrix().push();
    170170   painter->modelViewMatrix().translate(m_position);
     171   if (m_rotationAngle != 0.0f)
     172     painter->modelViewMatrix().rotate(m_rotationAngle, m_rotationVector);
    171173   if ((m_scaleX != 1.0f) || (m_scaleY != 1.0f) || (m_scaleZ != 1.0f))
    172174     painter->modelViewMatrix().scale(m_scaleX, m_scaleY, m_scaleZ);
    173    if (m_rotationAngle != 0.0f)
    174      painter->modelViewMatrix().rotate(m_rotationAngle, m_rotationVector);
    175175
    176176   // Apply the material and effect to the painter.
Note: See TracChangeset for help on using the changeset viewer.