Revision: 6924
          http://playerstage.svn.sourceforge.net/playerstage/?rev=6924&view=rev
Author:   jeremy_asher
Date:     2008-07-24 19:34:14 +0000 (Thu, 24 Jul 2008)

Log Message:
-----------
stage: fixed speech bubbles at strange z values in perspective cam mode when 
ortho camera pitch is 0

Modified Paths:
--------------
    code/stage/trunk/libstage/canvas.cc

Modified: code/stage/trunk/libstage/canvas.cc
===================================================================
--- code/stage/trunk/libstage/canvas.cc 2008-07-24 19:22:12 UTC (rev 6923)
+++ code/stage/trunk/libstage/canvas.cc 2008-07-24 19:34:14 UTC (rev 6924)
@@ -696,7 +696,7 @@
                glPushMatrix();
                for( std::multimap< float, StgModel* >::reverse_iterator i = 
ordered.rbegin(); i != ordered.rend(); i++ ) {
                        //ensure two icons can't be in the exact same plane
-                       if( camera.pitch() == 0 )
+                       if( camera.pitch() == 0 && !pCamOn )
                                glTranslatef( 0, 0, 0.1 );
                        i->second->DrawStatusTree( this );
                }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to