Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / Ketsji / KX_SCA_ReplaceMeshActuator.h
index e5482c2..ae2c0d2 100644 (file)
@@ -50,8 +50,8 @@ class KX_SCA_ReplaceMeshActuator : public SCA_IActuator
        // mesh reference (mesh to replace)
        RAS_MeshObject* m_mesh;
        SCA_IScene*      m_scene;
-       bool m_use_gfx; 
        bool m_use_phys;
+       bool m_use_gfx; 
 
  public:
        KX_SCA_ReplaceMeshActuator(
@@ -74,13 +74,12 @@ class KX_SCA_ReplaceMeshActuator : public SCA_IActuator
 
        void    InstantReplaceMesh();
 
-       /* --------------------------------------------------------------------- */
-       /* Python interface ---------------------------------------------------- */
-       /* --------------------------------------------------------------------- */
-
        static PyObject* pyattr_get_mesh(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef);
        static int pyattr_set_mesh(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef, PyObject *value);
 
+       /* 1. setMesh */
+       KX_PYMETHOD_DOC_O(KX_SCA_ReplaceMeshActuator,SetMesh);
+       KX_PYMETHOD_DOC(KX_SCA_ReplaceMeshActuator,getMesh);
        KX_PYMETHOD_DOC(KX_SCA_ReplaceMeshActuator,instantReplaceMesh);
 
 };