diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-05-17 20:30:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-05-17 20:30:18 +0400 |
commit | 41acd3b81cd2a7156b8c5ced4d4aa257e7575517 (patch) | |
tree | dcb2c099c3ed09f0d6b736000cb7cbf922118c45 /source/gameengine/Ketsji/KX_Camera.cpp | |
parent | 65796e2c0712798606497dfb3f36ccbd6e7ab725 (diff) |
While testing YoFrankie with the new API attributes found some issues...
- corrections to docs
- disallow calling controller.activate(actuator) when the controller is not active. (Raise a SystemError)
- Added 2 new attributes, CValue.name - deprecates CValue.getName(), KX_GameObject.children deprecated KX_GameObject.getChildren(), (same for getChildrenRecursive()).
Diffstat (limited to 'source/gameengine/Ketsji/KX_Camera.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_Camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_Camera.cpp b/source/gameengine/Ketsji/KX_Camera.cpp index 0d2e68243f8..625710fa65d 100644 --- a/source/gameengine/Ketsji/KX_Camera.cpp +++ b/source/gameengine/Ketsji/KX_Camera.cpp @@ -757,7 +757,7 @@ KX_PYMETHODDEF_DOC_O(KX_Camera, enableViewport, "Sets this camera's viewport status\n" ) { - ShowDeprecationWarning("enableViewport(bool)", "the isViewport property"); + ShowDeprecationWarning("enableViewport(bool)", "the useViewport property"); int viewport = PyObject_IsTrue(value); if (viewport == -1) { |