Python api access to obcolor

Option to copy obcolor in the copy menu
Option to select same color in select grouped menu
console.py - mistake in last commit caused a python error
This commit is contained in:
Campbell Barton
2008-09-20 10:11:42 +00:00
parent c282178411
commit 224607982a
7 changed files with 78 additions and 7 deletions

View File

@@ -552,6 +552,8 @@ class Object:
@ivar transp: Enable transparent materials for the active object
(mesh only). Also see B{TRANSP} bit in L{drawMode} attribute.
@type transp: boolean
@ivar color: Object color used by the game engine and optionally for materials, 4 floats for RGBA object color.
@type color: tuple of 4 floats between 0 and 1
@ivar drawMode: The object's drawing mode bitfield.
See L{DrawModes} constant dict for values.
@type drawMode: int