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-12-27 12:31:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-12-27 12:31:28 +0300
commit84f60b19c8a2d5b5dbf247a5cf83491dfe25cd26 (patch)
treea72c6f31625c676ae61ffcc00b6abd796e540d54 /release/scripts/weightpaint_gradient.py
parent11e035b0fc01cda870523e395e9a1b085fc1df80 (diff)
weightpaint_clean, option to clean all vgroups
weightpaint_envelope_assign - can update active vgroup only weightpaint_normalize - fixups BKE_plugin_types - made the max length 32 ratehr then 16 so you can fill the text space in pupBlock
Diffstat (limited to 'release/scripts/weightpaint_gradient.py')
-rwxr-xr-xrelease/scripts/weightpaint_gradient.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/weightpaint_gradient.py b/release/scripts/weightpaint_gradient.py
index 4c125ca4855..604bf6ca5fe 100755
--- a/release/scripts/weightpaint_gradient.py
+++ b/release/scripts/weightpaint_gradient.py
@@ -25,9 +25,9 @@ import Blender
def main():
scn= Blender.Scene.GetCurrent()
- ob= scn.getActiveObject()
+ ob= scn.objects.active
- if not ob or ob.getType() != 'Mesh':
+ if not ob or ob.type != 'Mesh':
Blender.Draw.PupMenu('Error, no active mesh object, aborting.')
return
# MODE 0 == VCOL