2nd try to merge sim_physics with trunk rev 19825
[blender.git] / source / gameengine / Ketsji / KX_ConstraintActuator.cpp
index 1ce7fac0cfe8dc094978e067871978ce0ba8f450..462abd3a58472e60ef8ca6bec302e4fafd0ff1df 100644 (file)
@@ -652,7 +652,7 @@ int KX_ConstraintActuator::pyattr_check_direction(void *self, const struct KX_PY
        MT_Vector3 dir(act->m_refDirection);
        MT_Scalar len = dir.length();
        if (MT_fuzzyZero(len)) {
-               PyErr_SetString(PyExc_ValueError, "actuator.direction = vec: KX_ConstraintActuator, invalid direction");
+               PyErr_SetString(PyExc_ValueError, "Invalid direction");
                return 1;
        }
        act->m_refDirVector = dir/len;