Possible Stage issue
Bryan Burke
bburke at eecs.utk.edu
Fri Sep 23 18:42:38 UTC 2011
> Got this message from one of my users about the player/stage packages. They asked me to
> forward along this message to you guys for review and inclusion in the PPA which hosts the
> stage v3 packages (http://ppa.launchpad.net/thjc/ppa/ubuntu).
I finally got the user to send me a patch for this. It should be attached to this email.
--
Bryan Burke
IT Staff
Department of Electrical Engineering and Computer Science
University of Tennessee, Knoxville
bburke at eecs.utk.edu
(865) 974-4694
-------------- next part --------------
diff -ur Stage-3.2.2-Source/libstage/model_draw.cc Stage-3.2.2-Source.new/libstage/model_draw.cc
--- Stage-3.2.2-Source/libstage/model_draw.cc 2009-10-28 16:48:05.000000000 -0400
+++ Stage-3.2.2-Source.new/libstage/model_draw.cc 2011-09-01 16:52:06.000000000 -0400
@@ -50,8 +50,8 @@
void Model::DrawTrailFootprint()
{
- double darkness = 0;
- double fade = 0.5 / (double)(trail_length+1);
+ double darkness = 1;
+/* double fade = 0.5 / (double)(trail_length+1); */
PushColor( 0,0,0,1 ); // dummy pushL just saving the color
@@ -72,7 +72,7 @@
Gl::pose_shift( pz );
Gl::pose_shift( geom.pose );
- darkness += fade;
+/* darkness += fade; */
Color c = checkpoint.color;
c.a = darkness;
glColor4f( c.r, c.g, c.b, c.a );
More information about the Ubuntu-motu
mailing list