2nd try to merge sim_physics with trunk rev 19825
[blender.git] / source / gameengine / Ketsji / KX_TouchSensor.cpp
index 5a6e8e6f5016318f7a9f56d48163cdaa4c2ac6eb..e7f8acbd1a836a55ce10254d531806dbeca8fc2f 100644 (file)
@@ -369,7 +369,7 @@ const char KX_TouchSensor::GetTouchMaterial_doc[] =
 "\tKX_FALSE if it looks for a specific property.\n" ;
 PyObject* KX_TouchSensor::PyGetTouchMaterial()
 {
-       ShowDeprecationWarning("getTouchMaterial()", "the useMaterial property");
+       ShowDeprecationWarning("getTouchMaterial()", "the materialCheck property");
        return PyInt_FromLong(m_bFindMaterial);
 }
 
@@ -382,7 +382,6 @@ const char KX_TouchSensor::SetTouchMaterial_doc[] =
 "\tKX_FALSE to switch off positive pulse mode.\n" ;
 PyObject* KX_TouchSensor::PySetTouchMaterial(PyObject *value)
 {
-       ShowDeprecationWarning("setTouchMaterial()", "the useMaterial property");
        int pulseArg = PyInt_AsLong(value);
 
        if(pulseArg ==-1 && PyErr_Occurred()) {