[Kstars-devel] KDE/kdeedu/kstars/kstars/skycomponents

Akarsh Simha akarshsimha at gmail.com
Fri Oct 3 03:23:57 CEST 2008


SVN commit 867187 by asimha:

Manage the setting of the inDraw flag correctly.

Thanks to Madhusudhan, Santhosh and Krishna for working on it.

CCMAIL: kstars-devel at kde.org



 M  +2 -2      deepstarcomponent.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/deepstarcomponent.cpp #867186:867187
@@ -178,8 +178,8 @@
     float radius = map->fov();
     if ( radius > 90.0 ) radius = 90.0;
 
-    if ( m_skyMesh->inDraw() ) {
-        printf("Warning: aborting concurrent DeepStarComponent::draw()\n");
+    if ( m_skyMesh != SkyMesh::Instance() && m_skyMesh->inDraw() ) {
+        printf("Warning: aborting concurrent DeepStarComponent::draw()");
     }
     bool checkSlewing = ( map->isSlewing() && Options::hideOnSlew() );
 


More information about the Kstars-devel mailing list