Asset Pipeline v2 #145
@ -514,6 +514,13 @@ def transfer_shape_key(
|
|||||||
]
|
]
|
||||||
val = mathutils.Vector(sum(np.array(vals_weighted)))
|
val = mathutils.Vector(sum(np.array(vals_weighted)))
|
||||||
sk_target.data[i].co = vert.co + val
|
sk_target.data[i].co = vert.co + val
|
||||||
|
fcurves = core.find_drivers(
|
||||||
|
source_obj.data.shape_keys.animation_data.drivers,
|
||||||
|
'key_blocks',
|
||||||
|
shape_key_name,
|
||||||
|
)
|
||||||
|
for fcurve in fcurves:
|
||||||
|
core.copy_driver(from_fcurve=fcurve, target=target_obj.data.shape_keys)
|
||||||
|
|
||||||
|
|
||||||
# ATTRIBUTE
|
# ATTRIBUTE
|
||||||
|
Loading…
Reference in New Issue
Block a user