xzw 5 ماه پیش
والد
کامیت
6669e2ebdd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/sdk/cover/index.js

+ 1 - 1
src/sdk/cover/index.js

@@ -1487,7 +1487,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
                             let key = Object.assign({},frame) 
                                 key.weight = key.amplitude || 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){
                                     //return console.error('cannot find action', key.key) 
                                     let random = Math.floor(Math.random() * (model.actions.length))