Revision: 26457
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26457
Author:   campbellbarton
Date:     2010-01-30 22:59:20 +0100 (Sat, 30 Jan 2010)

Log Message:
-----------
rename game object obcolor to color

Modified Paths:
--------------
    trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp
    trunk/blender/source/gameengine/PyDoc/GameTypes.py

Modified: trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp    2010-01-30 
21:48:07 UTC (rev 26456)
+++ trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp    2010-01-30 
21:59:20 UTC (rev 26457)
@@ -1487,7 +1487,7 @@
        KX_PYATTRIBUTE_RO_FUNCTION("children",  KX_GameObject, 
pyattr_get_children),
        KX_PYATTRIBUTE_RO_FUNCTION("childrenRecursive", KX_GameObject, 
pyattr_get_children_recursive),
        KX_PYATTRIBUTE_RO_FUNCTION("attrDict",  KX_GameObject, 
pyattr_get_attrDict),
-       KX_PYATTRIBUTE_RW_FUNCTION("obcolor", KX_GameObject, 
pyattr_get_obcolor, pyattr_set_obcolor),
+       KX_PYATTRIBUTE_RW_FUNCTION("color", KX_GameObject, pyattr_get_obcolor, 
pyattr_set_obcolor),
        
        /* Experemental, dont rely on these yet */
        KX_PYATTRIBUTE_RO_FUNCTION("sensors",           KX_GameObject, 
pyattr_get_sensors),

Modified: trunk/blender/source/gameengine/PyDoc/GameTypes.py
===================================================================
--- trunk/blender/source/gameengine/PyDoc/GameTypes.py  2010-01-30 21:48:07 UTC 
(rev 26456)
+++ trunk/blender/source/gameengine/PyDoc/GameTypes.py  2010-01-30 21:59:20 UTC 
(rev 26457)
@@ -1529,6 +1529,8 @@
        @ivar visible: visibility flag.
                - note: Game logic will still run for invisible objects.
        @type visible: boolean
+       @ivar color: The object color of the object
+       @type color: list [r, g, b, a]
        @ivar occlusion: occlusion capability flag.
        @type occlusion: boolean
        @ivar position: The object's position. 


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to