Revision: 7598
http://playerstage.svn.sourceforge.net/playerstage/?rev=7598&view=rev
Author: rtv
Date: 2009-04-14 18:53:06 +0000 (Tue, 14 Apr 2009)
Log Message:
-----------
patched blobfinder, thanks to wliu
Modified Paths:
--------------
code/stage/trunk/libstage/model.cc
code/stage/trunk/libstage/world.cc
code/stage/trunk/worlds/fasr.world
Modified: code/stage/trunk/libstage/model.cc
===================================================================
--- code/stage/trunk/libstage/model.cc 2009-04-13 08:39:21 UTC (rev 7597)
+++ code/stage/trunk/libstage/model.cc 2009-04-14 18:53:06 UTC (rev 7598)
@@ -717,7 +717,8 @@
void Model::CallUpdateCallbacks( void )
{
- if( last_update == world->sim_time )
+ // if we were updated this timestep, call the callbacks
+ if( last_update == world->sim_time )
CallCallbacks( &hooks.update );
}
Modified: code/stage/trunk/libstage/world.cc
===================================================================
--- code/stage/trunk/libstage/world.cc 2009-04-13 08:39:21 UTC (rev 7597)
+++ code/stage/trunk/libstage/world.cc 2009-04-14 18:53:06 UTC (rev 7598)
@@ -573,7 +573,7 @@
{
// find the direction of the first ray
Pose raypose = pose;
- double starta = fov/2.0;
+ double starta = fov/2.0 - raypose.a;
for( uint32_t s=0; s < sample_count; s++ )
{
Modified: code/stage/trunk/worlds/fasr.world
===================================================================
--- code/stage/trunk/worlds/fasr.world 2009-04-13 08:39:21 UTC (rev 7597)
+++ code/stage/trunk/worlds/fasr.world 2009-04-14 18:53:06 UTC (rev 7598)
@@ -41,9 +41,6 @@
(
name "cave"
pose [0 0 0 0]
- #size [1000.000 750.000 0.600]
- #bitmap "bitmaps/SFU_medium_1.png"
-
size [16 16 0.600]
bitmap "bitmaps/cave.png"
)
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:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit