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:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-11-04 12:21:27 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2008-11-04 12:21:27 +0300
commit6eb3bf53dd753d4b00f0f76f9f7739aecb9af2f8 (patch)
treecd46ea1bc1c70778a4d1ac4bb94896287b28588c /source/gameengine/VideoTexture/Texture.cpp
parentca80578e4ee67280764aeaf4f562afe2bbc7519c (diff)
VideoTexture: Bug report #17946: add (char*) casting to fix compile error with Python get-set method and module object.
Diffstat (limited to 'source/gameengine/VideoTexture/Texture.cpp')
-rw-r--r--source/gameengine/VideoTexture/Texture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/VideoTexture/Texture.cpp b/source/gameengine/VideoTexture/Texture.cpp
index ceda39aeff4..e922bbd768d 100644
--- a/source/gameengine/VideoTexture/Texture.cpp
+++ b/source/gameengine/VideoTexture/Texture.cpp
@@ -412,8 +412,8 @@ static PyMethodDef textureMethods[] =
// class Texture attributes
static PyGetSetDef textureGetSets[] =
{
- {"source", (getter)Texture_getSource, (setter)Texture_setSource, "source of texture", NULL},
- {"mipmap", (getter)Texture_getMipmap, (setter)Texture_setMipmap, "mipmap texture", NULL},
+ {(char*)"source", (getter)Texture_getSource, (setter)Texture_setSource, (char*)"source of texture", NULL},
+ {(char*)"mipmap", (getter)Texture_getMipmap, (setter)Texture_setMipmap, (char*)"mipmap texture", NULL},
{NULL}
};