abramped / gamekit

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

remove object from a scene fail #314

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. calling the gkScene::removeObject() method

What is the expected output? What do you see instead?
Although the object is in the scene, it doesn't find.

What version of the product are you using? On what operating system?
latest trunk on Linux

Please provide any additional information below.
In the gkScene::removeObject(gkGameObject* gobj) method the if statement 
contains != instead of ==, so it will return an error message if found the 
object in the scene.

Original issue reported on code.google.com by palkodan...@gmail.com on 2 Jul 2013 at 9:13

GoogleCodeExporter commented 9 years ago
Fixed in latest revision.
Thanks.

Original comment by harkon...@gmail.com on 7 Jul 2013 at 10:53