Skip to content

Commit

Permalink
UPBGE: Fix T48099: None accepted in getScreenPosition.
Browse files Browse the repository at this point in the history
The bug was introduced in the original dfelinto commit which implemented these functions.
  • Loading branch information
panzergame committed Apr 12, 2016
1 parent f486ef7 commit 1883449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/gameengine/Ketsji/KX_Camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ KX_PYMETHODDEF_DOC_O(KX_Camera, getScreenPosition,
{
PyErr_Clear();

if (ConvertPythonToGameObject(value, &obj, true, ""))
if (ConvertPythonToGameObject(value, &obj, false, ""))
{
PyErr_Clear();
vect = MT_Vector3(obj->NodeGetWorldPosition());
Expand Down

0 comments on commit 1883449

Please sign in to comment.