hi all, im experementing with a gui but whenever i make a slider its really slow at redrawing and makes the whole of blender flash. whats wrong with my code?
import Blender
from Blender.Draw import *
from Blender.BGL import *
def gui():
glClearColor(0.5,0.5,0.5, 0.0)
glClear(GL_COLOR_BUFFER_BIT)
glRasterPos2i(40, 130)
value=Slider("this",1,40,140,140,30,10,1,15)
Register(gui)