Răsfoiți Sursa

Merge pull request #645 from kwhatmough/next

Removes extraneous assertion that was crashing the forms test on exit on...
Sean Paul Taylor 13 ani în urmă
părinte
comite
87dc34a149
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      gameplay/src/Form.cpp

+ 0 - 1
gameplay/src/Form.cpp

@@ -710,7 +710,6 @@ bool Form::mouseEventInternal(Mouse::MouseEvent evt, int x, int y, int wheelDelt
 bool Form::projectPoint(int x, int y, Vector3* point)
 bool Form::projectPoint(int x, int y, Vector3* point)
 {
 {
     Scene* scene = _node->getScene();
     Scene* scene = _node->getScene();
-    GP_ASSERT(scene);
     Camera* camera;
     Camera* camera;
 
 
     if (scene && (camera = scene->getActiveCamera()))
     if (scene && (camera = scene->getActiveCamera()))