Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.4x Bug Tracker: Browse

[#1028] Reserved button event number

Date:
2004-02-24 12:43
Priority:
3
State:
Closed
Submitted by:
Michael Reimpell (reimpell)
Assigned to:
Willian Padovani Germano (ianwill)
Group:
Resolution:
Fixed
Category:
Python
 
Summary:
Reserved button event number
Detailed description
Blender.Draw.Menu passes its button event 4 to the script.

Redo:

import Blender

def event(evt, val):
if evt == Blender.Draw.ESCKEY:
Blender.Draw.Exit()
return

def button(evt):
print evt
return

def gui():
Blender.Draw.Menu("bug", 8, 10, 10, 100, 20, 0)
return

Blender.Draw.Register(gui, event, button)

Followup

No Followups Have Been Posted

 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionInvestigate2004-06-12 08:08ianwill
close_date2004-04-11 06:102004-06-12 08:08ianwill
close_dateNone2004-04-11 06:10ianwill
assigned_tomichel2004-04-11 06:10ianwill
status_idOpen2004-04-11 06:10ianwill
ResolutionNew2004-02-29 17:19michel
assigned_tonone2004-02-29 17:19michel