[X3D-Public] Fwd: [FreeWRL-develop] 3D philosophical question
John A. Stewart
alex.stewart at crc.ca
Sun Sep 26 09:09:38 PDT 2010
Dear X3D people;
A FreeWRL user, using the EAI interface, has a conundrum that, on the surface at least, would affect not only EAI, but SAI and Javascript deletion of nodes.
I don't know the answer to the question, does anyone on this list have an opinion?
Here is the users' question:
> Amongst the actions that happens in my world via the EAI is an 'object
> delete' event.
>
> It happens in the following sequence:
> mouse over, EAI app gets event
> mouse click, EAI app gets the request
> EAI app sees the object should be deleted
> EAI app sends a remove children request, (and removes the object from
> its internal tables)
>
> Now comes the conundrum:
>
> Obviously, from one point of view, the mouse is no longer over the
> disappeared object, and therefore FreeWRL is quite entitled to send a
> mouse exit event; this is what FreeWRL currently does.
>
> But, from another point of view, it is sending an event tied to an
> object that no longer exists.
>
> I can program round this; but which is the correct behaviour for
> FreeWRL in this corner case ?
>
> At the moment I avoid the problem by ignoring the 'dangling pointer'
> but I might miss a genuine problem.
-----------------------------------------------------------
John A. Stewart
alex.stewart at crc.ca
Network Systems and Technologies -
Systemes et technologies des reseaux
Communications Research Centre Canada |
Centre de recherches sur les communications Canada
3701 Carling Ave. | 3701, avenue Carling
PO Box 11490, Station H | CP 11490, succursale H
Ottawa ON K2H 8S2 | Ottawa (Ontario) K2H 8S2
http://www.crc.ca
More information about the X3D-Public
mailing list