Fix some inconsistent use of tabs and spaces in indentation
[vrm.git] / vrm.py
diff --git a/vrm.py b/vrm.py
index d9c2d40..15fba09 100755 (executable)
--- a/vrm.py
+++ b/vrm.py
@@ -7,7 +7,7 @@ Tooltip: 'Vector Rendering Method script'
 """
 
 __author__ = "Antonio Ospite"
 """
 
 __author__ = "Antonio Ospite"
-__url__ = ["http://projects.blender.org/projects/vrm"]
+__url__ = ["http://vrm.ao2.it"]
 __version__ = "0.3.beta"
 
 __bpydoc__ = """\
 __version__ = "0.3.beta"
 
 __bpydoc__ = """\
@@ -15,7 +15,7 @@ __bpydoc__ = """\
 """
 
 # ---------------------------------------------------------------------
 """
 
 # ---------------------------------------------------------------------
-#    Copyright (c) 2006, 2007, 2008 Antonio Ospite
+#    Copyright (c) 2006, 2007, 2008, 2009 Antonio Ospite
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -61,37 +61,6 @@ __bpydoc__ = """\
 #   - Check memory use!!
 #
 # ---------------------------------------------------------------------
 #   - Check memory use!!
 #
 # ---------------------------------------------------------------------
-#
-# Changelog:
-#
-#   vrm-0.3.py  - ...
-#     * Adapted to blender API 2.45
-#     * First release after code restucturing.
-#       Now the script offers a useful set of functionalities
-#       and it can render animations, too.
-#     * Optimization in Renderer.doEdgeStyle(), build a topology cache
-#       so to speed up the lookup of adjacent faces of an edge.
-#       Thanks ideasman42.
-#     * The SVG output is now SVG 1.0 valid.
-#       Checked with: http://jiggles.w3.org/svgvalidator/ValidatorURI.html
-#     * Progress indicator during HSR.
-#     * Initial SWF output support (using ming)
-#     * Fixed a bug in the animation code, now the projection matrix is
-#       recalculated at each frame!
-#     * PDF output (using reportlab)
-#     * Fixed another problem in the animation code the current frame was off
-#       by one in the case of camera movement.
-#     * Use fps as specified in blender when VectorWriter handles animation
-#     * Remove the real file opening in the abstract VectorWriter
-#     * View frustum clipping
-#     * Scene clipping done using bounding box instead of object center
-#     * Fix camera type selection for blender>2.43 (Thanks to Thomas Lachmann)
-#     * Compatibility with python 2.3
-#     * Process only object that are on visible layers.
-#     * Saving config to registry (Thanks to Thomas Lachmann for a draft
-#       implementation)
-#
-# ---------------------------------------------------------------------
 
 import Blender
 from Blender import Scene, Object, Mesh, NMesh, Material, Lamp, Camera, Window
 
 import Blender
 from Blender import Scene, Object, Mesh, NMesh, Material, Lamp, Camera, Window
@@ -165,7 +134,7 @@ class config:
     def loadFromRegistry():
         registry = Blender.Registry.GetKey('VRM', True)
         if not registry:
     def loadFromRegistry():
         registry = Blender.Registry.GetKey('VRM', True)
         if not registry:
-              return
+           return
 
         for k,v in registry.iteritems():
             k_tmp = k.split('_')
 
         for k,v in registry.iteritems():
             k_tmp = k.split('_')
@@ -3022,7 +2991,7 @@ class GUI:
         Draw.Button("Exit", GUI.evtExitButton, 95, 210-25, 75, 25+18, "Exit!")
 
         Draw.Button("Save settings as default", GUI.evtSaveDefaultButton, 10, 210-50, 160, 18,
         Draw.Button("Exit", GUI.evtExitButton, 95, 210-25, 75, 25+18, "Exit!")
 
         Draw.Button("Save settings as default", GUI.evtSaveDefaultButton, 10, 210-50, 160, 18,
-               "Save settings as default")
+            "Save settings as default")
 
         # Rendering Styles
         glRasterPos2i(200, 310)
 
         # Rendering Styles
         glRasterPos2i(200, 310)