|
@@ -1487,7 +1487,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
let key = Object.assign({},frame)
|
|
let key = Object.assign({},frame)
|
|
key.weight = key.amplitude || 1 //幅度
|
|
key.weight = key.amplitude || 1 //幅度
|
|
key.speed = key.speed || 1
|
|
key.speed = key.speed || 1
|
|
- key.action = model.actions.find(e=>e.name == key.key)
|
|
|
|
|
|
+ key.action = model.actions.find(e=>e._clip.name == key.key)
|
|
if(!key.action){
|
|
if(!key.action){
|
|
//return console.error('cannot find action', key.key)
|
|
//return console.error('cannot find action', key.key)
|
|
let random = Math.floor(Math.random() * (model.actions.length))
|
|
let random = Math.floor(Math.random() * (model.actions.length))
|