dgu123 / o3d

Automatically exported from code.google.com/p/o3d
0 stars 0 forks source link

'RawData' objects get corrupted - possibly by createTextureFromRawData #119

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put the attatched html and o3tgz files in the same directory.
2. Open the html file in Firefox.
3. The file produces an error message (after a few seconds), although it is
correct.

What is the expected output? What do you see instead?
No error message should appear, textures should be created correctly (see
script in the html file).

What version of the product are you using? On what operating system?
Google O3D 0.1.40.1 / Firefox 3.5.2 / Vista Enterprise

What hardware are you using:  graphics card type?  motherboard type?
Graphics: GeFroce 7300LE / motherboard irrelevant

===========
The script tries to store RawData objects created from files in an archive
in an array. This array is then traversed to create textures. Texture
creation fails because the rawData objects become corrupted.

Original issue reported on code.google.com by KCio...@gmail.com on 19 Aug 2009 at 1:52

Attachments:

GoogleCodeExporter commented 9 years ago
I am sorry, it turned out to be a mistake on my part: The line
g_pack.removeObject(request) also deletes the rawData. I think it wouldn't be a 
bad
idea to make this explicit in the documentation.

Original comment by KCio...@gmail.com on 20 Aug 2009 at 7:04

GoogleCodeExporter commented 9 years ago

Original comment by vange...@google.com on 16 Sep 2009 at 5:23