|
@@ -2062,6 +2062,8 @@ export class DragAndDropEvent {
|
|
console.log(
|
|
console.log(
|
|
" 鼠标点击弹起了 threeWorldPointerupEvent = (obj : Object) => { ", objMesh.id
|
|
" 鼠标点击弹起了 threeWorldPointerupEvent = (obj : Object) => { ", objMesh.id
|
|
);
|
|
);
|
|
|
|
+
|
|
|
|
+ // console.log("courseChapter3dShow().show.objTypeViewEvent ---", courseChapter3dShow().show.objTypeViewEvent);
|
|
|
|
|
|
switch (objMesh.id) {
|
|
switch (objMesh.id) {
|
|
|
|
|
|
@@ -2222,6 +2224,11 @@ export class DragAndDropEvent {
|
|
*/
|
|
*/
|
|
public meshEventTxt = (car : any, meshId : any) : any => {
|
|
public meshEventTxt = (car : any, meshId : any) : any => {
|
|
|
|
|
|
|
|
+ if (courseChapter3dShow().show.objTypeViewEvent != null && courseChapter3dShow().show.objTypeViewEvent != undefined) {
|
|
|
|
+ // 停止播放声音
|
|
|
|
+ courseChapter3dShow().show.objTypeViewEvent.objModelHtml5Audio.pause();
|
|
|
|
+ }
|
|
|
|
+
|
|
if (meshId == null || meshId == undefined) {
|
|
if (meshId == null || meshId == undefined) {
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|