@ -71,7 +71,7 @@ QMUtil = function () {
//debug 参数 相机坐标/ 镜头方向
//debug 参数 相机坐标/ 镜头方向
this . guiOptions = { cameraX : 0 , cameraY : 220 , cameraZ : 220 , targatX : 0 , targatY : 0 , targatZ : 0 } ; //this.button = function() {};
this . guiOptions = { cameraX : 0 , cameraY : 220 , cameraZ : 220 , targatX : 0 , targatY : 0 , targatZ : 0 } ; //this.button = function() {};
this . sceneGap = { x : 0 , y : 20 , z : 0 , scale : dir ? 0.15 : 0.09 } ; //改变地图位置,大小
this . sceneGap = { x : 0 , y : 20 , z : 0 , scale : dir ? 0.15 : 0.075 } ; //改变地图位置,大小
this . selectBuild = 0 ;
this . selectBuild = 0 ;
this . selectFloor = 0 ;
this . selectFloor = 0 ;
@ -4446,6 +4446,7 @@ MainMap_QM.prototype = {
clearTimeout ( Map_QM . util . timeObj . pathTime ) ;
clearTimeout ( Map_QM . util . timeObj . pathTime ) ;
if ( Map_QM . util . overObj && Map_QM . forShopArr [ 0 ] ) {
if ( Map_QM . util . overObj && Map_QM . forShopArr [ 0 ] ) {
Map_QM . util . pathStateObj . isPathPlay = true ;
Map_QM . util . pathStateObj . isPathPlay = true ;
Map_QM . controls . reset ( )
Map_QM . clearFloor ( ) ;
Map_QM . clearFloor ( ) ;
Map_QM . onFindPathToObj ( ) ;
Map_QM . onFindPathToObj ( ) ;
}
}
@ -4473,6 +4474,7 @@ MainMap_QM.prototype = {
Map_QM . util . timeObj . pathTime = setTimeout ( ( ) => {
Map_QM . util . timeObj . pathTime = setTimeout ( ( ) => {
clearTimeout ( Map_QM . util . timeObj . pathTime ) ;
clearTimeout ( Map_QM . util . timeObj . pathTime ) ;
if ( Map_QM . util . overObj ) {
if ( Map_QM . util . overObj ) {
Map_QM . controls . reset ( )
Map_QM . clearFloor ( ) ;
Map_QM . clearFloor ( ) ;
Map_QM . onFindPathModel ( Map_QM . util . pathStateObj . ftPath ) ;
Map_QM . onFindPathModel ( Map_QM . util . pathStateObj . ftPath ) ;
if ( callBack ) {
if ( callBack ) {
@ -4504,6 +4506,7 @@ MainMap_QM.prototype = {
Map_QM . util . timeObj . pathTime = setTimeout ( ( ) => {
Map_QM . util . timeObj . pathTime = setTimeout ( ( ) => {
clearTimeout ( Map_QM . util . timeObj . pathTime ) ;
clearTimeout ( Map_QM . util . timeObj . pathTime ) ;
if ( Map_QM . util . overObj ) {
if ( Map_QM . util . overObj ) {
Map_QM . controls . reset ( )
Map_QM . clearFloor ( ) ;
Map_QM . clearFloor ( ) ;
Map_QM . onFindPathModel ( Map_QM . util . pathStateObj . dtPath ) ;
Map_QM . onFindPathModel ( Map_QM . util . pathStateObj . dtPath ) ;
if ( callBack ) {
if ( callBack ) {
@ -4535,6 +4538,7 @@ MainMap_QM.prototype = {
Map_QM . util . timeObj . pathTime = setTimeout ( ( ) => {
Map_QM . util . timeObj . pathTime = setTimeout ( ( ) => {
clearTimeout ( Map_QM . util . timeObj . pathTime ) ;
clearTimeout ( Map_QM . util . timeObj . pathTime ) ;
if ( Map_QM . util . overObj ) {
if ( Map_QM . util . overObj ) {
Map_QM . controls . reset ( )
Map_QM . clearFloor ( ) ;
Map_QM . clearFloor ( ) ;
Map_QM . onFindPathModel ( Map_QM . util . pathStateObj . graphPath ) ;
Map_QM . onFindPathModel ( Map_QM . util . pathStateObj . graphPath ) ;
if ( callBack ) {
if ( callBack ) {