small bge edits
- Only try and remove light objects from the light list. - Only loop over mesh verts once when getting the bounding box - dont return None from python attribute localInertia when theres no physics objects. better return a vector still. - add names to send message PyArg_ParseTuple functions.
This commit is contained in:
@@ -184,7 +184,7 @@ static PyObject* gPySendMessage(PyObject*, PyObject* args)
|
||||
char* to = "";
|
||||
char* from = "";
|
||||
|
||||
if (!PyArg_ParseTuple(args, "s|sss", &subject, &body, &to, &from))
|
||||
if (!PyArg_ParseTuple(args, "s|sss:sendMessage", &subject, &body, &to, &from))
|
||||
return NULL;
|
||||
|
||||
gp_KetsjiScene->GetNetworkScene()->SendMessage(to, from, subject, body);
|
||||
|
||||
Reference in New Issue
Block a user