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:
authorCampbell Barton <ideasman42@gmail.com>2006-07-08 10:14:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-07-08 10:14:45 +0400
commit219a6b245c178acf16234c3870fc606f9c6bec76 (patch)
treeab9e6c66690470a6de05946fc28ab1e49882bca0 /release/scripts/mesh_poly_reduce.py
parent73d50a828940a44c09710159a3112593aee506d3 (diff)
vertexpaint_selfshadow_ao adds face uv to the mesh if there not alredy there...
added GPL header and docstrings to other scripts removed double batch_name_edit, same file is object_batch_name_edit
Diffstat (limited to 'release/scripts/mesh_poly_reduce.py')
-rw-r--r--release/scripts/mesh_poly_reduce.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/release/scripts/mesh_poly_reduce.py b/release/scripts/mesh_poly_reduce.py
index 1adb9f330cf..af965f4b6a5 100644
--- a/release/scripts/mesh_poly_reduce.py
+++ b/release/scripts/mesh_poly_reduce.py
@@ -6,9 +6,38 @@ Group: 'Mesh'
Tooltip: 'Removed polygons from a mesh while maintaining the shape, textures and weights.'
"""
+__author__ = "Campbell Barton"
+__url__ = ("blender", "elysiun")
+__version__ = "1.0 2006/02/07"
+
+__bpydoc__ = """\
+This script simplifies the mesh by removing faces, keeping the overall shape of the mesh.
+"""
+
from Blender import Draw, Window, Scene, Mesh, Mathutils, sys, Object
import BPyMesh
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# Script copyright (C) Campbell J Barton
+#
+# 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 the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# ***** END GPL LICENCE BLOCK *****
+# --------------------------------------------------------------------------
+
def main():
scn = Scene.GetCurrent()