[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[x3d-public] eventListener



i couldn't find this problem in the bug list, but the X3DEventListener does not seem to work correctly with a scene that was created with sai.
 
the sai example "FieldEventDemo.java" works. when the mouse is over a touchSensor, the "target" mousepointer appears. when clicking it, the Message "Stop touching me" is printed out (which is the action defined in "public void readableFieldChanged"). but also the message "Warning: does not update released mouse correctly for TouchSensors. Must fix" appears.
 
when a touchSensor is attached to a node that was created with sai, it doesn't work anymore. the mousepointer does not change when the mouse over the node. when the node is clicked, only the message "Warning: does not update released mouse correctly for TouchSensors. Must fix" appears. the action defined in "readableFieldChanged" is not performed.
 
an example file is attached.
 
best regards,
mirko gontek

Attachment: SAIEvent.java
Description: Binary data