From: Braden M. <br...@en...> - 2010-03-09 06:12:27
|
On Mon, 2010-03-08 at 04:56 -0800, cheribhai wrote: > > Hello, > It seems that routes declared inside PROTO definitions do not seem > to be working as expected. > e.g. I have a time sensor and a script in a PROTO definition. When I try to > route the 'time' of the time sensor to a function of the script which simply > prints out the value of the time, it doesn't work. Quick debugging in the > time sensor node tells me that the time update is being done (and > consequently emitted), but somehow the script node does not receive this > event. > > Am I missing something? Maybe; but I'll need a concrete example to know whether you are or you've found a bug. The attached example works for me; that is, I see "Ouch!" printed to the console when I click the sphere. -- Braden McDaniel <br...@en...> |