diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 08:16:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 08:20:38 +0300 |
commit | f907eb4268ccea96869fc36c8aa1045507c066e8 (patch) | |
tree | dbbc3602b85d369365dc601ac60f984fbe09bea7 /release/scripts/templates_py/gizmo_custom_geometry.py | |
parent | f711c44b8dc8e10b37b387cefabb7236ae77decd (diff) |
PyAPI: Use 'None' arg to clear header text
Diffstat (limited to 'release/scripts/templates_py/gizmo_custom_geometry.py')
-rw-r--r-- | release/scripts/templates_py/gizmo_custom_geometry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates_py/gizmo_custom_geometry.py b/release/scripts/templates_py/gizmo_custom_geometry.py index c464ecabe0b..fba2b0269c4 100644 --- a/release/scripts/templates_py/gizmo_custom_geometry.py +++ b/release/scripts/templates_py/gizmo_custom_geometry.py @@ -96,7 +96,7 @@ class MyCustomShapeWidget(Gizmo): return {'RUNNING_MODAL'} def exit(self, context, cancel): - context.area.header_text_set("") + context.area.header_text_set(None) if cancel: self.target_set_value("offset", self.init_value) |