Asset Pipeline v2 #145
@ -392,10 +392,13 @@ def shape_keys_clean(obj):
|
|||||||
|
|
||||||
|
|
||||||
def shape_key_is_missing(transfer_info):
|
def shape_key_is_missing(transfer_info):
|
||||||
|
obj = transfer_info.id_data
|
||||||
|
if obj.type != "MESH" or obj.data.shape_keys is None:
|
||||||
|
return
|
||||||
return transfer_core.transfer_info_is_missing(
|
return transfer_core.transfer_info_is_missing(
|
||||||
transfer_info,
|
transfer_info,
|
||||||
constants.SHAPE_KEY_KEY,
|
constants.SHAPE_KEY_KEY,
|
||||||
transfer_info.id_data.data.shape_keys.key_blocks,
|
obj.data.shape_keys.key_blocks,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user