Make entity lines post rather than pre.

I'm not sure what visual difference it makes, but it is pretty much what
I'd intended in the first place.
This commit is contained in:
Bill Currie 2012-09-10 12:16:23 +09:00
parent 2905cb69bc
commit a75fe213a6

View file

@ -81,7 +81,7 @@ class QFEntityRelations(bpy.types.Panel):
for reg in context.area.regions:
if reg.type != 'WINDOW':
continue
reg.callback_add(draw_callback, (cls, context), 'PRE_VIEW')
reg.callback_add(draw_callback, (cls, context), 'POST_VIEW')
cls.initDone = True
return False
def draw_header(self, context):