Revision: 7777
http://playerstage.svn.sourceforge.net/playerstage/?rev=7777&view=rev
Author: hsujohnhsu
Date: 2009-06-03 20:02:21 +0000 (Wed, 03 Jun 2009)
Log Message:
-----------
comment out debug statements.
Modified Paths:
--------------
code/gazebo/trunk/server/rendering/OgreCamera.cc
Modified: code/gazebo/trunk/server/rendering/OgreCamera.cc
===================================================================
--- code/gazebo/trunk/server/rendering/OgreCamera.cc 2009-06-03 18:28:48 UTC
(rev 7776)
+++ code/gazebo/trunk/server/rendering/OgreCamera.cc 2009-06-03 20:02:21 UTC
(rev 7777)
@@ -255,9 +255,9 @@
Ogre::PixelFormat format = pixelBuffer->getFormat();
renderViewport = rTexture->getViewport(0);
- std::cout << "Render viewport["
- << renderViewport->getActualWidth() << " "
- << renderViewport->getActualHeight() << "]\n";
+ // std::cout << "Render viewport["
+ // << renderViewport->getActualWidth() << " "
+ // << renderViewport->getActualHeight() << "]\n";
size = Ogre::PixelUtil::getMemorySize((**this->imageSizeP).x,
(**this->imageSizeP).y,
@@ -265,9 +265,8 @@
format);
//size = this->imageSizeP->GetValue().x * this->imageSizeP->GetValue().y *
this->GetImageDepth();
+ //printf("Size[%d] [%d]\n",size, this->imageSizeP->GetValue().x *
this->imageSizeP->GetValue().y * this->GetImageDepth());
- printf("Size[%d] [%d]\n",size, this->imageSizeP->GetValue().x *
this->imageSizeP->GetValue().y * this->GetImageDepth());
-
// Allocate buffer
if (!this->saveFrameBuffer)
this->saveFrameBuffer = new unsigned char[size];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit