diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-08 08:37:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-08 08:37:37 +0400 |
commit | 1f74789d1250033eed6c5b9c86df5274c1339581 (patch) | |
tree | f8352e592b8cf883b8b4f6d8f6d20bbdb3c4d0b8 /release/scripts/startup/bl_ui | |
parent | 9467ddb9037c3486bcbe80e9b9be510c05dfe526 (diff) |
Correct mathutils documentation, also correct some python spelling errors and add makefile target `check_spelling`
Diffstat (limited to 'release/scripts/startup/bl_ui')
10 files changed, 24 insertions, 26 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py index 3aa995353b2..91230c9dc89 100644 --- a/release/scripts/startup/bl_ui/properties_data_curve.py +++ b/release/scripts/startup/bl_ui/properties_data_curve.py @@ -217,7 +217,7 @@ class DATA_PT_active_spline(CurveButtonsPanelActive, Panel): if is_poly: # These settings are below but its easier to have - # poly's set aside since they use so few settings + # polys set aside since they use so few settings row = layout.row() row.label(text="Cyclic:") row.prop(act_spline, "use_cyclic_u", text="U") @@ -250,7 +250,7 @@ class DATA_PT_active_spline(CurveButtonsPanelActive, Panel): col = split.column() col.prop(act_spline, "use_cyclic_v", text="V") - # its a surface, assume its a nurb. + # its a surface, assume its a nurbs sub = col.column() sub.active = (not act_spline.use_cyclic_v) sub.prop(act_spline, "use_bezier_v", text="V") diff --git a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py index e6801f00fce..d6aeea8ece7 100644 --- a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py +++ b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py @@ -215,7 +215,7 @@ class PHYSICS_PT_dp_canvas_output(PhysicButtonsPanel, Panel): # toggle active preview layout.prop(surface, "preview_id") - # paintmap output + # paint-map output row = layout.row() row.prop_search(surface, "output_name_a", ob.data, "vertex_colors", text="Paintmap layer: ") if surface.output_exists(object=ob, index=0): @@ -225,7 +225,7 @@ class PHYSICS_PT_dp_canvas_output(PhysicButtonsPanel, Panel): row.operator("dpaint.output_toggle", icon=ic, text="").output = 'A' - # wetmap output + # wet-map output row = layout.row() row.prop_search(surface, "output_name_b", ob.data, "vertex_colors", text="Wetmap layer: ") if surface.output_exists(object=ob, index=1): diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py index 6e54bdde024..13d25e6ac8d 100644 --- a/release/scripts/startup/bl_ui/properties_texture.py +++ b/release/scripts/startup/bl_ui/properties_texture.py @@ -824,7 +824,6 @@ class TEXTURE_PT_mapping(TextureSlotPanel, Panel): idblock = context_tex_datablock(context) tex = context.texture_slot - # textype = context.texture if not isinstance(idblock, Brush): split = layout.split(percentage=0.3) @@ -912,7 +911,6 @@ class TEXTURE_PT_influence(TextureSlotPanel, Panel): idblock = context_tex_datablock(context) - # textype = context.texture tex = context.texture_slot def factor_but(layout, toggle, factor, name): diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py index 95eb49062c0..b6a450e1a02 100644 --- a/release/scripts/startup/bl_ui/space_info.py +++ b/release/scripts/startup/bl_ui/space_info.py @@ -273,7 +273,7 @@ class INFO_MT_add(Menu): def draw(self, context): layout = self.layout - # note, dont use 'EXEC_SCREEN' or operators wont get the 'v3d' context. + # note, don't use 'EXEC_SCREEN' or operators wont get the 'v3d' context. layout.operator_context = 'EXEC_AREA' diff --git a/release/scripts/startup/bl_ui/space_logic.py b/release/scripts/startup/bl_ui/space_logic.py index da6d1f72123..1e68b41c645 100644 --- a/release/scripts/startup/bl_ui/space_logic.py +++ b/release/scripts/startup/bl_ui/space_logic.py @@ -49,8 +49,8 @@ class LOGIC_PT_properties(Panel): sub.prop(prop, "name", text="") row.prop(prop, "type", text="") # get the property from the body, not the game property - # note, don't do this - it's too slow and body can potentually be a really long string. - # row.prop(ob.data, "body", text="") + # note, don't do this - it's too slow and body can potentially be a really long string. + #~ row.prop(ob.data, "body", text="") row.label("See Text Object") else: props = layout.operator("object.game_property_new", text="Add Text Game Property", icon='ZOOMIN') diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py index 18d32575bc2..33610f3ba33 100644 --- a/release/scripts/startup/bl_ui/space_nla.py +++ b/release/scripts/startup/bl_ui/space_nla.py @@ -143,7 +143,7 @@ class NLA_MT_edit(Menu): layout.operator_menu_enum("anim.channels_move", "direction", text="Track Ordering...") layout.separator() - # TODO: names of these tools for 'tweakmode' need changing? + # TODO: names of these tools for 'tweak-mode' need changing? if scene.is_nla_tweakmode: layout.operator("nla.tweakmode_exit", text="Stop Tweaking Strip Actions") else: diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 8a2dff8f050..2efeff0e079 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -293,7 +293,7 @@ class USERPREF_PT_edit(Panel): col.label(text="Grease Pencil:") col.prop(edit, "grease_pencil_manhattan_distance", text="Manhattan Distance") col.prop(edit, "grease_pencil_euclidean_distance", text="Euclidean Distance") - #col.prop(edit, "use_grease_pencil_simplify_stroke", text="Simplify Stroke") + #~ col.prop(edit, "use_grease_pencil_simplify_stroke", text="Simplify Stroke") col.prop(edit, "grease_pencil_eraser_radius", text="Eraser Radius") col.prop(edit, "use_grease_pencil_smooth_stroke", text="Smooth Stroke") col.separator() @@ -316,7 +316,7 @@ class USERPREF_PT_edit(Panel): sub = col.column() - # sub.active = edit.use_keyframe_insert_auto # incorrect, timeline can enable + #~ sub.active = edit.use_keyframe_insert_auto # incorrect, time-line can enable sub.prop(edit, "use_keyframe_insert_available", text="Only Insert Available") col.separator() @@ -833,7 +833,7 @@ from .space_userpref_keymap import InputKeyMapPanel class USERPREF_MT_ndof_settings(Menu): - # accessed from the window keybindings in C (only) + # accessed from the window key-bindings in C (only) bl_label = "3D Mouse Settings" def draw(self, context): @@ -965,7 +965,7 @@ class USERPREF_PT_input(Panel, InputKeyMapPanel): class USERPREF_MT_addons_dev_guides(Menu): bl_label = "Development Guides" - # menu to open webpages with addons development guides + # menu to open web-pages with addons development guides def draw(self, context): layout = self.layout layout.operator("wm.url_open", text="API Concepts", icon='URL').url = "http://wiki.blender.org/index.php/Dev:2.5/Py/API/Intro" @@ -1097,7 +1097,7 @@ class USERPREF_PT_addons(Panel): else: row.operator("wm.addon_enable", icon='CHECKBOX_DEHLT', text="", emboss=False).module = module_name - # Expanded UI (only if additional infos are available) + # Expanded UI (only if additional info is available) if info["show_expanded"]: if info["description"]: split = colsub.row().split(percentage=0.15) diff --git a/release/scripts/startup/bl_ui/space_userpref_keymap.py b/release/scripts/startup/bl_ui/space_userpref_keymap.py index 6fa3aabaeb8..030e1ee0f6d 100644 --- a/release/scripts/startup/bl_ui/space_userpref_keymap.py +++ b/release/scripts/startup/bl_ui/space_userpref_keymap.py @@ -180,7 +180,7 @@ class InputKeyMapPanel: sub.prop(kmi, "propvalue", text="") else: # One day... - # sub.prop_search(kmi, "idname", bpy.context.window_manager, "operators_all", text="") + #~ sub.prop_search(kmi, "idname", bpy.context.window_manager, "operators_all", text="") sub.prop(kmi, "idname", text="") sub = split.column() diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 1dba79b34d7..dff9ca4d919 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1637,8 +1637,8 @@ class VIEW3D_MT_edit_mesh_edges(Menu): layout.operator("TRANSFORM_OT_edge_crease") layout.operator("mesh.loop_multi_select", text="Edge Loop").ring = False - # uiItemO(layout, "Loopcut", 0, "mesh.loop_cut"); // CutEdgeloop(em, 1); - # uiItemO(layout, "Edge Slide", 0, "mesh.edge_slide"); // EdgeSlide(em, 0,0.0); + #~ uiItemO(layout, "Loopcut", 0, "mesh.loop_cut"); // CutEdgeloop(em, 1); + #~ uiItemO(layout, "Edge Slide", 0, "mesh.edge_slide"); // EdgeSlide(em, 0,0.0); layout.operator("mesh.loop_multi_select", text="Edge Ring").ring = True diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index aa7cec0c01a..5171a6dd47d 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1051,10 +1051,10 @@ class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel): self.unified_paint_settings(col, context) # Commented out because the Apply button isn't an operator yet, making these settings useless -# col.label(text="Gamma:") -# col.prop(wpaint, "gamma", text="") -# col.label(text="Multiply:") -# col.prop(wpaint, "mul", text="") +#~ col.label(text="Gamma:") +#~ col.prop(wpaint, "gamma", text="") +#~ col.label(text="Multiply:") +#~ col.prop(wpaint, "mul", text="") # Also missing now: # Soft, Vertex-Group, X-Mirror and "Clear" Operator. @@ -1081,10 +1081,10 @@ class VIEW3D_PT_tools_vertexpaint(Panel, View3DPaintPanel): self.unified_paint_settings(col, context) # Commented out because the Apply button isn't an operator yet, making these settings useless -# col.label(text="Gamma:") -# col.prop(vpaint, "gamma", text="") -# col.label(text="Multiply:") -# col.prop(vpaint, "mul", text="") +#~ col.label(text="Gamma:") +#~ col.prop(vpaint, "gamma", text="") +#~ col.label(text="Multiply:") +#~ col.prop(vpaint, "mul", text="") # ********** default tools for texture-paint **************** |