Merged changes in the trunk up to revision 42116.
[blender.git] / doc / python_api / examples / bge.texture.1.py
index 4be6f51de67cf2aefed4333f3f15e7bdcfe891ec..918ffc9772d66e9a8ae33d09841588c424651b5a 100644 (file)
@@ -11,13 +11,13 @@ from bge import texture
 
 def createTexture(cont):
     """Create a new Dynamic Texture"""
-    object = cont.owner
+    obj = cont.owner
 
     # get the reference pointer (ID) of the internal texture
-    ID = texture.materialID(object, 'IMoriginal.png')
+    ID = texture.materialID(obj, 'IMoriginal.png')
 
     # create a texture object
-    object_texture = texture.Texture(object, ID)
+    object_texture = texture.Texture(obj, ID)
 
     # create a new source with an external image
     url = logic.expandPath("//newtexture.jpg")