diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-30 09:50:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-30 09:50:41 +0400 |
commit | b21b24573d3538e893743d6bca233edba7b026b9 (patch) | |
tree | a3a33d301326eebe733e60b2c2d6f06d132a92e6 /release | |
parent | 85cb0bc19db3e2cda8046ad0c5a8be20cd696389 (diff) |
lots of operator descriptions were incorrectly copy/pasted.
update some descriptions, others were removed and operators tagged as internal.
add a script to detect duplicate operator descriptions.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/rna_info.py | 3 | ||||
-rw-r--r-- | release/scripts/startup/bl_operators/uvcalc_lightmap.py | 4 | ||||
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 8 |
3 files changed, 8 insertions, 7 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index a4fd2c996cb..60b11884e30 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -648,7 +648,8 @@ def BuildRNAInfo(): for prop in func.return_values: prop.build() - if 1: + # there are too many invalid defaults, unless we intend to fix, leave this off + if 0: for rna_info in InfoStructRNA.global_lookup.values(): for prop in rna_info.properties: # ERROR CHECK diff --git a/release/scripts/startup/bl_operators/uvcalc_lightmap.py b/release/scripts/startup/bl_operators/uvcalc_lightmap.py index f8f4b8d35e6..6f54c051c0b 100644 --- a/release/scripts/startup/bl_operators/uvcalc_lightmap.py +++ b/release/scripts/startup/bl_operators/uvcalc_lightmap.py @@ -556,8 +556,6 @@ def lightmap_uvpack(meshes, print("finished all %.2f " % (time.time() - t)) - # Window.RedrawAll() - def unwrap(operator, context, **kwargs): @@ -590,7 +588,7 @@ from bpy.props import BoolProperty, FloatProperty, IntProperty class LightMapPack(Operator): - """Follow UVs from active quads along continuous face loops""" + """Pack each faces UV's into the UV bounds""" bl_idname = "uv.lightmap_pack" bl_label = "Lightmap Pack" diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 909842d3c2b..c1a98b07cbc 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -498,7 +498,7 @@ class WM_OT_context_menu_enum(Operator): class WM_OT_context_set_id(Operator): - """Toggle a context value""" + """Set a context value to an ID data-block""" bl_idname = "wm.context_set_id" bl_label = "Set Library ID" bl_options = {'UNDO', 'INTERNAL'} @@ -903,8 +903,9 @@ class WM_OT_doc_view(Operator): return {'FINISHED'} +''' class WM_OT_doc_edit(Operator): - """Load online reference docs""" + """Edit online reference docs""" bl_idname = "wm.doc_edit" bl_label = "Edit Documentation" @@ -972,6 +973,7 @@ class WM_OT_doc_edit(Operator): def invoke(self, context, event): wm = context.window_manager return wm.invoke_props_dialog(self, width=600) +''' rna_path = StringProperty( @@ -1893,7 +1895,7 @@ class WM_OT_addon_install(Operator): class WM_OT_addon_remove(Operator): - "Disable an addon" + "Delete the addon from the filesystem" bl_idname = "wm.addon_remove" bl_label = "Remove Addon" |