Hello Braden,
Thanks for the example. The routing actually works (shot
the gun too quickly on that). There seems to be some other problem, but I
will have to look a bit more to figure out the problem and also provide you
with an example.
Thanks again- Cherian
Braden McDaniel wrote:
>
> 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...>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> openvrml-develop mailing list
> ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openvrml-develop
>
>
--
View this message in context: http://old.nabble.com/Routes-in-PROTO-tp27819866p27983573.html
Sent from the openvrml-develop mailing list archive at Nabble.com.
|