I have the problem that setting the edge indices of an indexedLinesSet repeatedly with just one edge of varying length (through the factory actually gives an exception in a copy routine. It seems that the StorageModel does not notice the change of length in the fiber in that inlined data and tries to copy the values in the old location which is not large enough.
Any ideas how exactly to fix this?
Tim
intArrayArray.inlined for edges has problems
Re: intArrayArray.inlined for edges has problems
This is true. I. e. you also get this kind of error when you set 4D data on a PointSet that previously had 3D fibres. The only workaround I know is to clear the DataListSet fist, i. e. by calling setBlaCountAndAttributes(..).timh wrote:It seems that the StorageModel does not notice the change of length in the fiber in that inlined data and tries to copy the values in the old location which is not large enough.
However, the StorageModel is on the TODO list (since last summer?)
Steffen.
Yes. but If you do this you loose all benefits the factory classes have. You end up with doing everything by hand again and setting things in a Runnable via the writer methods.. or you get inconsistent states...This is true. I. e. you also get this kind of error when you set 4D data on a PointSet that previously had 3D fibres. The only workaround I know is to clear the DataListSet fist, i. e. by calling setBlaCountAndAttributes(..).
Oh well. Last meeting we agreed that one should not touch a working subsystem at the moment.However, the StorageModel is on the TODO list (since last summer?)
Does not seem to work as expected though.. :-)
Tim.