|
From: Symion <kn...@ip...> - 2011-03-01 09:54:44
|
I have been exploring the Text object a little more and may have found a
bug.
I may not be using the text object correctly but I receive the following
error when changing text color.
from visual import *
words = text(text="Test")
words.color=(1,0,0)
Traceback (most recent call last):
File "<pyshell#118>", line 1
words.color=(1,0,0)
File "C:\Python27\lib\site-packages\vis\primitives.py", line 945, in
set_color
for line in range(len(self.lines)):
AttributeError: 'text' object has no attribute 'lines'
The same error occurs with.
words.starts.__class__
|