Revision: 8438
http://playerstage.svn.sourceforge.net/playerstage/?rev=8438&view=rev
Author: natepak
Date: 2009-11-23 16:17:24 +0000 (Mon, 23 Nov 2009)
Log Message:
-----------
Removed printfs and stopped drawing a renderable to directional lights
Modified Paths:
--------------
code/gazebo/trunk/server/gui/Sidebar.cc
code/gazebo/trunk/server/rendering/Light.cc
Modified: code/gazebo/trunk/server/gui/Sidebar.cc
===================================================================
--- code/gazebo/trunk/server/gui/Sidebar.cc 2009-11-23 16:12:29 UTC (rev
8437)
+++ code/gazebo/trunk/server/gui/Sidebar.cc 2009-11-23 16:17:24 UTC (rev
8438)
@@ -58,10 +58,6 @@
this->box(FL_NO_BOX);
this->color(BG_COLOR);
- fprintf(stderr,"Entity Height[%d]\n",(this->h()-20)*0.25);
- fprintf(stderr,"Param Height[%d]\n",(this->h()-20)*0.5);
-
- //this->entityBrowser = new Fl_Hold_Browser(x+10, y+20, w-20, 25*5,"Models");
this->entityBrowser = new Fl_Hold_Browser(x+10, y+20, w-20,
(this->h()-20)*0.25,"Models");
this->entityBrowser->align(FL_ALIGN_TOP);
@@ -73,7 +69,6 @@
this->paramColumnWidths[2] = 0;
y = this->entityBrowser->y() + this->entityBrowser->h() + 20;
- //this->paramBrowser = new Fl_Hold_Browser(x+10, y, w-20,25*10,"Parameters");
this->paramBrowser = new Fl_Hold_Browser(x+10, y, w-20,
(this->h()-20)*0.5,"Parameters");
this->paramBrowser->align(FL_ALIGN_TOP);
Modified: code/gazebo/trunk/server/rendering/Light.cc
===================================================================
--- code/gazebo/trunk/server/rendering/Light.cc 2009-11-23 16:12:29 UTC (rev
8437)
+++ code/gazebo/trunk/server/rendering/Light.cc 2009-11-23 16:17:24 UTC (rev
8438)
@@ -167,6 +167,9 @@
// Helper node to create a visual representation of the light
void Light::CreateVisual()
{
+ if (this->light->getType() == Ogre::Light::LT_DIRECTIONAL)
+ return;
+
this->visual = new OgreVisual(this->parent->GetVisualNode());
// The lines draw a visualization of the camera
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit