synched with trunk at revision 32129
[blender.git] / source / gameengine / Ketsji / KX_SCA_ReplaceMeshActuator.h
index 1e258420836341e4ef7d4fd4a18d9a728e20858c..4a6ae9f8fce954c03a64efc4ffae9e8e5d3ecf6a 100644 (file)
@@ -17,7 +17,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software Foundation,
-// Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 //
 // The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
 // All rights reserved.
@@ -74,14 +74,24 @@ class KX_SCA_ReplaceMeshActuator : public SCA_IActuator
 
        void    InstantReplaceMesh();
 
+#ifndef DISABLE_PYTHON
+
+       /* --------------------------------------------------------------------- */
+       /* Python interface ---------------------------------------------------- */
+       /* --------------------------------------------------------------------- */
+
+       virtual void Replace_IScene(SCA_IScene *val)
+       {
+               m_scene= val;
+       };
+
        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);
 
+#endif // DISABLE_PYTHON
+
 }; 
 
 #endif