~ubuntu-branches/debian/sid/stellarium/sid

« back to all changes in this revision

Viewing changes to src/core/modules/Nebula.cpp

  • Committer: Package Import Robot
  • Author(s): Tomasz Buchert
  • Date: 2013-08-04 15:06:55 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130804150655-iji0vb5navh3lk13
Tags: 0.12.2-1
* Imported Upstream version 0.12.2
* Added dependency to phonon (to enable video/sound)
* Fixed VCS links
* Removed unused lintian tag (embedded-library glee)
* Dropped obsolete patch
* Update copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
{
185
185
        float lim = mag;
186
186
        if (lim > 50) lim = 15.f;
 
187
 
 
188
        // temporary workaround of this bug: https://bugs.launchpad.net/stellarium/+bug/1115035 --AW
 
189
        if (getEnglishName().contains("Pleiades"))
 
190
                lim = 5.f;
 
191
 
187
192
        if (lim>maxMagHints)
188
193
                return;
189
194
        renderer->setBlendMode(BlendMode_Add);
233
238
{
234
239
        float lim = mag;
235
240
        if (lim > 50) lim = 15.f;
 
241
 
 
242
        // temporary workaround of this bug: https://bugs.launchpad.net/stellarium/+bug/1115035 --AW
 
243
        if (getEnglishName().contains("Pleiades"))
 
244
                lim = 5.f;
 
245
 
236
246
        if (lim>maxMagLabel)
237
247
                return;
238
248