2nd try to merge sim_physics with trunk rev 19825
[blender.git] / source / gameengine / Converter / BL_ActionActuator.cpp
index 7515f3f5f918769ae75bc318afad5a59b69de7ec..f413ad969f4fd3220dfbb8dfabbecbf0cf9f1244 100644 (file)
@@ -1037,7 +1037,7 @@ int BL_ActionActuator::pyattr_set_action(void *self_v, const KX_PYATTRIBUTE_DEF
        
        if (!PyString_Check(value))
        {
-               PyErr_SetString(PyExc_ValueError, "actuator.action = val: Action Actuator, expected the string name of the action");
+               PyErr_SetString(PyExc_ValueError, "expected the string name of the action");
                return -1;
        }
 
@@ -1049,7 +1049,7 @@ int BL_ActionActuator::pyattr_set_action(void *self_v, const KX_PYATTRIBUTE_DEF
                action= (bAction*)SCA_ILogicBrick::m_sCurrentLogicManager->GetActionByName(val);
                if (!action)
                {
-                       PyErr_SetString(PyExc_ValueError, "actuator.action = val: Action Actuator, action not found!");
+                       PyErr_SetString(PyExc_ValueError, "action not found!");
                        return 1;
                }
        }