diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-26 10:54:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-26 10:54:27 +0300 |
commit | 1f5cec709c8f79ff706eca4399583696853a3aec (patch) | |
tree | a5b8283383b7151c506ecccea3cfc7a39d90b24b /release/scripts/templates/operator_modal_draw.py | |
parent | 7a231938119f97bde0f78bd939a55274806cf1f5 (diff) |
update to background_job template to use --factory-startup option.
make all templates pep8 compliant.
Diffstat (limited to 'release/scripts/templates/operator_modal_draw.py')
-rw-r--r-- | release/scripts/templates/operator_modal_draw.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/templates/operator_modal_draw.py b/release/scripts/templates/operator_modal_draw.py index e159bc0f9c5..52259e4b8e7 100644 --- a/release/scripts/templates/operator_modal_draw.py +++ b/release/scripts/templates/operator_modal_draw.py @@ -2,10 +2,11 @@ import bpy import bgl import blf + def draw_callback_px(self, context): print("mouse points", len(self.mouse_path)) - font_id = 0 # XXX, need to find out how best to get this. + font_id = 0 # XXX, need to find out how best to get this. # draw some text blf.position(font_id, 15, 30, 0) |