Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2005-05-17 11:17:52 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2005-05-17 11:17:52 +0400
commit859959b49c8122b1e37027cf5009fecd23f5d8c8 (patch)
tree0dbe86f455743795604d88b3b9a351d0d6d1d98e /release/scripts/save_theme.py
parent7f4ff24462217328a6d0d0b193621949ed5e085a (diff)
BPython:
- fixing bug reported by Paolo Colombo: space handler slinks set for a 3d view were not set when the area got maximized; - Blender.Object: added object.isSB() method to know if an object is a soft body (has ob->soft != NULL). Used in fixfromarmature.py. Scripts: - updates: batch_name_edit (Campbell), fixfromarmature (JMS); - additions: X3D exporter by Bart; Envelope Suite by Jonas Petersen; BVH 2 Armature by Jean-Baptiste Perin; Camera Changer by Regis Montoya (3R); Interactive Console by Campbell (ideasman). - tiny updates in other scripts.
Diffstat (limited to 'release/scripts/save_theme.py')
-rw-r--r--release/scripts/save_theme.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/save_theme.py b/release/scripts/save_theme.py
index a79de94f4ea..ba0b9bbcf8f 100644
--- a/release/scripts/save_theme.py
+++ b/release/scripts/save_theme.py
@@ -9,7 +9,7 @@ Tooltip: 'Save current theme as a bpython script'
__author__ = "Willian P. Germano"
__url__ = ("blender", "elysiun")
-__version__ = "1.1 2005/13/01"
+__version__ = "1.2 2005/05/17"
__bpydoc__ = """\
This script saves the current Theme in Blender as a Blender Python script.
@@ -63,7 +63,7 @@ default_fname = default_fname.replace(' ','_')
def write_theme(filename):
"Write the current theme as a bpython script"
- if filename.find('.py', -3) <= 0: filename += '.py'
+ if not filename.endswith('.py'): filename += '.py'
fout = file(filename, "w")
@@ -77,7 +77,7 @@ def write_theme(filename):
# \"\"\"
__%s__ = "????"
-__%s__ = "1.0"
+__%s__ = "1.2"
__%s__ = ["blender"]
__%s__ = \"\"\"\\
You can edit this section to write something about your script that can