diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-25 06:41:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-25 06:41:30 +0400 |
commit | e1a54214bbed9b32e1aee0e849ae654c495afa80 (patch) | |
tree | a95eaa2b98e7baa7e91fa34db46571e531b1cfb3 /source/gameengine/VideoTexture/FilterNormal.cpp | |
parent | 153eea5f23e2f0060d89a701ddd9b48085fc6070 (diff) |
code cleanup:
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
Diffstat (limited to 'source/gameengine/VideoTexture/FilterNormal.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/FilterNormal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/VideoTexture/FilterNormal.cpp b/source/gameengine/VideoTexture/FilterNormal.cpp index ba963d93079..78a09f8afac 100644 --- a/source/gameengine/VideoTexture/FilterNormal.cpp +++ b/source/gameengine/VideoTexture/FilterNormal.cpp @@ -76,7 +76,7 @@ static PyObject *getColor (PyFilter *self, void *closure) } // set index of color used to calculate normal -static int setColor (PyFilter *self, PyObject *value, void *closure) +static int setColor(PyFilter *self, PyObject *value, void *closure) { // check validity of parameter if (value == NULL || !PyLong_Check(value)) @@ -98,7 +98,7 @@ static PyObject *getDepth (PyFilter *self, void *closure) } // set depth -static int setDepth (PyFilter *self, PyObject *value, void *closure) +static int setDepth(PyFilter *self, PyObject *value, void *closure) { // check validity of parameter if (value) |