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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user