listVisualization bug? -
11-11-2009, 09:37 AM
I was trying to create an inventory using the listVisualization class from the visualizations gallery. A problem would occur whenever I tried to put objects into the listVisualization object when the world was running. The problem that occurred would be that whenever I stopped the world, I would get an error, the viewing window would go black, and I wouldn't be able to use the play button anymore, unless I restarted Alice.
The only workaround I could find was to create a listVisualization object with 1 item in its items object list, then immediately when the world runs, do a "clear listVisualization". After this I was able to dynamically add objects to its items object list, and upon exiting the world, no more errors!
I wasn't able to find any other solutions on this forum, so I hope this will help some people.
|