~petr-kubanek/stellarium/stellarium

« back to all changes in this revision

Viewing changes to plugins/Pulsars/src/Pulsar.cpp

  • Committer: Georg Zotti
  • Date: 2017-05-22 14:27:36 UTC
  • Revision ID: georg.zotti@univie.ac.at-20170522142736-sw2kjxe3ntlwba5u
Q_NULLPTR refactoring completed for all plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
418
418
        if (mag <= mlimit)
419
419
        {               
420
420
                Pulsar::markerTexture->bind();
421
 
                float size = getAngularSize(NULL)*M_PI/180.*painter->getProjector()->getPixelPerRadAtCenter();
 
421
                float size = getAngularSize(Q_NULLPTR)*M_PI/180.*painter->getProjector()->getPixelPerRadAtCenter();
422
422
                float shift = 5.f + size/1.6f;          
423
423
 
424
424
                painter->drawSprite2dMode(XYZ, distributionMode ? 4.f : 5.f);