@@ -187,6 +187,10 @@ struct UdpNetworkedInternalData
|
||||
printf("%s disconected.\n", m_event.peer->data);
|
||||
|
||||
break;
|
||||
default:
|
||||
{
|
||||
printf("unknown event type: %d.\n", m_event.type);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (serviceResult > 0)
|
||||
@@ -258,6 +262,10 @@ struct UdpNetworkedInternalData
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
printf("unknown event type: %d.\n", m_event.type);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (serviceResult > 0)
|
||||
|
||||
@@ -98,10 +98,10 @@ Node* Tree::SearchJoint(Node* node, int index)
|
||||
if (node->seqNumJoint == index) {
|
||||
return node;
|
||||
} else {
|
||||
if (ret = SearchJoint(node->left, index)) {
|
||||
if ((ret = SearchJoint(node->left, index))) {
|
||||
return ret;
|
||||
}
|
||||
if (ret = SearchJoint(node->right, index)) {
|
||||
if ((ret = SearchJoint(node->right, index))) {
|
||||
return ret;
|
||||
}
|
||||
return NULL;
|
||||
@@ -127,10 +127,10 @@ Node* Tree::SearchEffector(Node* node, int index)
|
||||
if (node->seqNumEffector == index) {
|
||||
return node;
|
||||
} else {
|
||||
if (ret = SearchEffector(node->left, index)) {
|
||||
if ((ret = SearchEffector(node->left, index))) {
|
||||
return ret;
|
||||
}
|
||||
if (ret = SearchEffector(node->right, index)) {
|
||||
if ((ret = SearchEffector(node->right, index))) {
|
||||
return ret;
|
||||
}
|
||||
return NULL;
|
||||
@@ -214,4 +214,4 @@ void Tree::UnFreezeTree(Node* node)
|
||||
void Tree::UnFreeze(void)
|
||||
{
|
||||
UnFreezeTree(root);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1482,7 +1482,7 @@ static PyObject* pybullet_resetVisualShapeData(PyObject* self, PyObject* args)
|
||||
static PyObject* pybullet_loadTexture(PyObject* self, PyObject* args)
|
||||
{
|
||||
int size = PySequence_Size(args);
|
||||
const char* filename = -1;
|
||||
const char* filename = 0;
|
||||
b3SharedMemoryCommandHandle commandHandle;
|
||||
b3SharedMemoryStatusHandle statusHandle;
|
||||
int statusType;
|
||||
|
||||
Reference in New Issue
Block a user