Fix for bugs: 1788 (forces) and 1799 (python delattr on game objects)

Use Polytope collision for faster mesh intersection tests, so SOLID can actually use that qhull lib now.
This commit is contained in:
Kester Maddock
2004-11-22 10:19:19 +00:00
parent cf91617d78
commit 46fbe6b01e
28 changed files with 579 additions and 297 deletions

View File

@@ -698,14 +698,15 @@ CValue* CValue::ConvertPythonToValue(PyObject* pyobj)
return vallie;
}
int CValue::_delattr(const STR_String& attr)
{
RemoveProperty(attr);
return 0;
}
int CValue::_setattr(const STR_String& attr,PyObject* pyobj)
{
if (!pyobj) { // member deletion
RemoveProperty(attr);
return 0;
}
CValue* vallie = ConvertPythonToValue(pyobj);
if (vallie)
{