Browse Source

Fixed a bug in the InputSample
The form was not being deleted so it was consuming touch events on the main sample list.

Darryl Gough 12 years ago
parent
commit
99d7685d6a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      samples/browser/src/InputSample.cpp

+ 1 - 0
samples/browser/src/InputSample.cpp

@@ -71,6 +71,7 @@ void InputSample::initialize()
     _formNodeParent->setTranslation(_formNodeRestPosition);
     _formNodeParent->setTranslation(_formNodeRestPosition);
     _formNode->setTranslation(-0.2f, -0.2f, 0);
     _formNode->setTranslation(-0.2f, -0.2f, 0);
     _formNode->setForm(form);
     _formNode->setForm(form);
+	form->release();
 }
 }
 
 
 void InputSample::finalize()
 void InputSample::finalize()