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

Re: [x3d-public] Using TimeSensor+PositionInterpolator with SAI



Bradley Vender wrote:
Justin Couch wrote:

Alan Hudson wrote:

Hmmm, that's an intersting one. But I think its a bug in our implementation. My addChildren is a writeable field. Set1Value is a write service. So I can't see why it wouldn't be allowed.



I can't see how it can be allowed. addChildren is an inputOnly field. It has no value to start with and, as far as the outside world is concerned, never has a value. It is impossible to replace a value of a field that doesn't have a value already (see the first paragraph of 6.7.6 of the Java bindings spec). The only way of interacting with inputOnly fields is to create an array of items and set it in one hit.


That makes sense to me. If there are no objections, I'll add access control checks on the set1Value methods to see that the fields are both readable and writable.

ok, I agree.

--
Alan Hudson

President Yumetech, Inc.                               www.yumetech.com
President Web3D Consortium                             www.web3d.org
206 340 8900
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html