import Blender
from Blender import Draw
MouseClickG= Blender.Draw.LEFTMOUSE
MouseClickD= Blender.Draw.RIGHTMOUSE
MouseClickM= Blender.Draw.MIDDLEMOUSE
def D():
pass
def E(evt,val):
if (evt == MouseClickG):
Draw.Exit()
if (evt == MouseClickD):
print MouseClickD
if (evt == MouseClickM):
print MouseClickM
def BE():
pass
Draw.Register(D,E,BE) |