Asset Pipeline v2 #145
@ -378,13 +378,13 @@ def shape_keys_clean(obj):
|
||||
return
|
||||
transfer_data = obj.transfer_data_ownership
|
||||
for shape_key in obj.data.shape_keys.key_blocks:
|
||||
if not asset_suffix.get_basename(shape_key.name) in transfer_data.keys():
|
||||
obj.shape_key_remove(shape_key)
|
||||
|
||||
# Move Shape Keys relative to themselves to the top (usually basis key)
|
||||
if shape_key.relative_key == shape_key:
|
||||
shape_key_move(bpy.context, obj, shape_key.name)
|
||||
|
||||
if not asset_suffix.get_basename(shape_key.name) in transfer_data.keys():
|
||||
obj.shape_key_remove(shape_key)
|
||||
|
||||
|
||||
def shape_key_is_missing(transfer_info):
|
||||
return transfer_core.transfer_info_is_missing(
|
||||
|
Loading…
Reference in New Issue
Block a user