patch [#24424] Python scripts update for API changes

from Filiciss Muhgue (filiciss)
This commit is contained in:
2010-10-27 22:15:55 +00:00
parent cbb47c1dac
commit ab404a0f66
3 changed files with 4 additions and 5 deletions

View File

@@ -254,7 +254,7 @@ class ShapeTransfer(bpy.types.Operator):
key = ob.add_shape_key(from_mix=False) # we need a rest
key.name = name
ob.active_shape_key_index = len(me.shape_keys.keys) - 1
ob.show_shape_key = True
ob.show_only_shape_key = True
from mathutils.geometry import BarycentricTransform
from mathutils import Vector