Quellcode durchsuchen

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 vor 12 Jahren
Ursprung
Commit
99d7685d6a
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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);
     _formNode->setTranslation(-0.2f, -0.2f, 0);
     _formNode->setForm(form);
+	form->release();
 }
 
 void InputSample::finalize()