diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-05 13:02:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-05 13:02:14 +0300 |
commit | 48bc52ea1b0f3ce021395591dbc89756c7a4e1ed (patch) | |
tree | f4d160b8e1a4bbfe160a906cdb833eb4fdcac4a1 /release | |
parent | 0b2bc7785deda39647c832ba022a14d337155802 (diff) |
fix for editing docs
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/op/wm.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/op/wm.py b/release/scripts/op/wm.py index 1bd5635932f..ebbcc82bb77 100644 --- a/release/scripts/op/wm.py +++ b/release/scripts/op/wm.py @@ -321,7 +321,7 @@ class WM_OT_doc_edit(bpy.types.Operator): class_name, class_prop = self.doc_id.split('.') if not self.doc_new: - return ('CANCELLED',) + return ('RUNNING_MODAL',) # check if this is an operator op_name = class_name.upper() + '_OT_' + class_prop @@ -334,7 +334,7 @@ class WM_OT_doc_edit(bpy.types.Operator): rna = op_class.bl_rna doc_orig = rna.description if doc_orig == self.doc_new: - return ('CANCELLED',) + return ('RUNNING_MODAL',) print("op - old:'%s' -> new:'%s'" % (doc_orig, self.doc_new)) upload["title"] = 'OPERATOR %s:%s' % (self.doc_id, doc_orig) @@ -346,7 +346,7 @@ class WM_OT_doc_edit(bpy.types.Operator): rna = getattr(bpy.types, class_name).bl_rna doc_orig = rna.properties[class_prop].description if doc_orig == self.doc_new: - return ('CANCELLED',) + return ('RUNNING_MODAL',) print("rna - old:'%s' -> new:'%s'" % (doc_orig, self.doc_new)) upload["title"] = 'RNA %s:%s' % s(self.doc_id, doc_orig) |