Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-04-22 16:16:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-04-22 16:16:41 +0400
commita8592d09d0173bab0e3eb66a315146e164cf14a4 (patch)
treef73a0f025a2a673ad3d9f22273d02f72225e1e52 /source/gameengine/Expressions/PyObjectPlus.h
parentc09b1a985c29e59736eef619e2dae1a1dcf2d73a (diff)
BGE C++ API
Some functions used ProcessReplica(replica); others replica->ProcessReplica() Use the second method everywhere so the PyObjectPlus's ProcessReplica() can be called from its subclasses. Note that PyObjectPlus's ProcessReplica isnt used yet.
Diffstat (limited to 'source/gameengine/Expressions/PyObjectPlus.h')
-rw-r--r--source/gameengine/Expressions/PyObjectPlus.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h
index a3b3952a6d1..52e59f7730c 100644
--- a/source/gameengine/Expressions/PyObjectPlus.h
+++ b/source/gameengine/Expressions/PyObjectPlus.h
@@ -450,6 +450,12 @@ public:
static PyObject *GetProxy_Ext(PyObjectPlus *self, PyTypeObject *tp);
static PyObject *NewProxy_Ext(PyObjectPlus *self, PyTypeObject *tp, bool py_owns);
+
+ /**
+ * Makes sure any internal data owned by this class is deep copied.
+ */
+ virtual void ProcessReplica();
+
};
PyObject *py_getattr_dict(PyObject *pydict, PyObject *tp_dict);