From 1a3307aadf2a13ee072d0f0f8bb9401fbca2d769 Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Thu, 21 Apr 2011 07:06:48 +0000 Subject: [PATCH] description for demo mode. --- io_scene_fbx/export_fbx.py | 2 +- space_view3d_math_vis/__init__.py | 10 ++++++---- system_demo_mode/__init__.py | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index ee0ebdd41..056da9410 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -2207,7 +2207,7 @@ Objects: {''') if me in iter(my_bone.blenMeshes.values()): write_sub_deformer_skin(my_mesh, my_bone, weights) - # Write pose's really weired, only needed when an armature and mesh are used together + # Write pose's really weird, only needed when an armature and mesh are used together # each by themselves dont need pose data. for now only pose meshes and bones file.write(''' diff --git a/space_view3d_math_vis/__init__.py b/space_view3d_math_vis/__init__.py index ecc8d6d6b..b1b9b3bdd 100644 --- a/space_view3d_math_vis/__init__.py +++ b/space_view3d_math_vis/__init__.py @@ -1,4 +1,4 @@ -#====================== BEGIN GPL LICENSE BLOCK ====================== +# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -14,7 +14,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -#======================= END GPL LICENSE BLOCK ======================== +# ##### END GPL LICENSE BLOCK ##### + +# <pep8 compliant> bl_info = { "name": "Math Vis (Console)", @@ -50,7 +52,7 @@ class VIEW3D_PT_math_vis(bpy.types.Panel): layout = self.layout view = context.space_data - col = layout.column(align=True) + col = layout.column(align=True) callbacks = draw.callbacks ok = False @@ -62,7 +64,6 @@ class VIEW3D_PT_math_vis(bpy.types.Panel): col.operator("view3d.math_vis_toggle", emboss=False, icon='CHECKBOX_HLT' if ok else 'CHECKBOX_DEHLT') - class SetupMathView(bpy.types.Operator): '''Draw a line with the mouse''' bl_idname = "view3d.math_vis_toggle" @@ -97,6 +98,7 @@ def register(): import console_python console_python.execute.hooks.append((console_hook, ())) + def unregister(): bpy.utils.unregister_module(__name__) diff --git a/system_demo_mode/__init__.py b/system_demo_mode/__init__.py index 3ee4e70ba..cc568c11a 100644 --- a/system_demo_mode/__init__.py +++ b/system_demo_mode/__init__.py @@ -24,7 +24,7 @@ bl_info = { "blender": (2, 5, 7), "api": 35622, "location": "Demo Menu", - "description": "TODO", + "description": "Demo mode lets you select multiple blend files and loop over them.", "warning": "", "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\ "Scripts/System/Demo_Mode#Running_Demo_Mode", -- GitLab