2nd try to merge sim_physics with trunk rev 19825
[blender.git] / source / gameengine / Ketsji / KX_Scene.cpp
index 0e1572da6792778eb425bd232287c49c215450f4..96f2f3e8ed391210f1efeb0f7e737367b0fc183f 100644 (file)
@@ -1678,7 +1678,7 @@ PyObject* KX_Scene::py_getattro(PyObject *attr)
                        Py_INCREF(object);
                }
                else {
-                       PyErr_Format(PyExc_AttributeError, "value = scene.myAttr: KX_Scene, attribute \"%s\" not found", PyString_AsString(attr));
+                       PyErr_Format(PyExc_AttributeError, "KX_Scene attribute \"%s\" not found", PyString_AsString(attr));
                }
        }
        
@@ -1696,7 +1696,7 @@ int KX_Scene::py_setattro(PyObject *attr, PyObject *value)
                        ret= PY_SET_ATTR_SUCCESS;
                }
                else {
-                       PyErr_SetString(PyExc_AttributeError, "scene.UserAttr = value: KX_Scenes, failed assigning value to internal dictionary");
+                       PyErr_SetString(PyExc_AttributeError, "failed assigning value to KX_Scenes internal dictionary");
                        ret= PY_SET_ATTR_FAIL;
                }
        }