Revision: 6820
          http://playerstage.svn.sourceforge.net/playerstage/?rev=6820&view=rev
Author:   jeremy_asher
Date:     2008-07-08 12:09:39 -0700 (Tue, 08 Jul 2008)

Log Message:
-----------
Camera always resets

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

Modified: code/stage/trunk/libstage/canvas.cc
===================================================================
--- code/stage/trunk/libstage/canvas.cc 2008-07-08 19:05:52 UTC (rev 6819)
+++ code/stage/trunk/libstage/canvas.cc 2008-07-08 19:09:39 UTC (rev 6820)
@@ -413,6 +413,9 @@
                        //current_camera->reset();
                        if ( wf )
                                current_camera->Load( wf, wf->LookupEntity( 
"window" ) );
+                       else
+                               current_camera->reset();
+                                       
                        //invalidate();
                        if( Fl::event_state( FL_CTRL ) ) {
                                resetCamera();


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

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to