sasikalar / gamekit

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

Incorrect cloning for submesh #290

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. calling gkSubMesh::clone()
2. exit application
3. crash

The problem is that the pointer in the new object is overridden with the old 
pointer and then overwrote with a block copy. Fix is very simple, just remove 
assignment line.

Original issue reported on code.google.com by vek...@gmail.com on 20 Dec 2012 at 11:20

Attachments:

GoogleCodeExporter commented 9 years ago
I will look into this today. Thx for sharing!

Original comment by thomas.t...@googlemail.com on 23 Dec 2012 at 2:18

GoogleCodeExporter commented 9 years ago
Commited the patch.

Thx again.
http://code.google.com/p/gamekit/source/detail?r=1225

Original comment by thomas.t...@googlemail.com on 24 Dec 2012 at 2:39