Add Liam waiting poses with capture and playback fences
This commit is contained in:
@@ -89,6 +89,7 @@ def selection(assets, profile='main', *, emotion_sha='', user_assets=False, mout
|
||||
base = bundle['assetRoot']
|
||||
index = json.loads(add(base + 'manifest.json', emotion_sha))
|
||||
require(index['identityId'] == bundle['identityId'] and index['packId'] == bundle['packId'], 'media identity mismatch')
|
||||
require(bool(index.get('waiting')) == bundle.get('waitingContract',False), 'waiting contract/catalog mismatch')
|
||||
declared = {relative(r['path']): r for r in index['files']}
|
||||
|
||||
def payload(name, sha):
|
||||
@@ -112,6 +113,8 @@ def selection(assets, profile='main', *, emotion_sha='', user_assets=False, mout
|
||||
payload(edge['clip']['path'], edge['clip']['sha256'])
|
||||
if edge.get('mouthRuntimeManifest'):
|
||||
runtime(edge['mouthRuntimeManifest'])
|
||||
for pose in index.get('waiting',{}).get('poses',[]):
|
||||
payload(pose['clip']['path'],pose['clip']['sha256'])
|
||||
for action in index['actions']:
|
||||
payload(action['clip']['path'], action['clip']['sha256'])
|
||||
if startup:
|
||||
|
||||
Reference in New Issue
Block a user