|
@@ -2766,8 +2766,6 @@ Object.assign(DrawTools.prototype, {
|
|
|
this._clear(true);
|
|
|
/* 结束编辑状态 */
|
|
|
this._unActivateEdit();
|
|
|
- /* 删除坐标轴 */
|
|
|
- this._removeCoorinateAxis();
|
|
|
/* 关闭属性编辑框 */
|
|
|
this._closePropertyEditDialog();
|
|
|
/* 移除操作容器 */
|
|
@@ -3783,11 +3781,8 @@ Object.assign(DrawTools.prototype, {
|
|
|
params.axisX = params.axisY = params.axisZ = 0
|
|
|
/* 重新关联墙实体的属性 */
|
|
|
this._editEntity.setParams(params);
|
|
|
- /* 重启坐标轴 */
|
|
|
- this._unActivateEdit();
|
|
|
- this._console(this._editEntity);
|
|
|
- // this._editEntity.setEntityType(DrawTools.DrawType.VideoWall);
|
|
|
- // this._activateEdit(this._editEntity);
|
|
|
+ /* 重置调整坐标轴 已保证坐标轴的位置正确+ */
|
|
|
+ this._activateEdit(this._editEntity);
|
|
|
},
|
|
|
|
|
|
/**
|
|
@@ -4028,7 +4023,10 @@ Object.assign(DrawTools.prototype, {
|
|
|
* @ignore 生成方法时不对外公开
|
|
|
*/
|
|
|
_unActivateEdit: function() {
|
|
|
+ /* 移除编辑点 */
|
|
|
this._clearEditPoint();
|
|
|
+ /* 删除坐标轴 */
|
|
|
+ this._removeCoorinateAxis();
|
|
|
/* 关闭属性编辑框 */
|
|
|
this._closePropertyEditDialog();
|
|
|
},
|
|
@@ -4820,7 +4818,7 @@ Object.assign(DrawTools.prototype, {
|
|
|
this._sketchEditPoints.push(position.clone());
|
|
|
/* 小于索引不会创建 */
|
|
|
if (i < strIndex) continue;
|
|
|
- /* 为了保证不重复创建节点 需���进行特殊过滤处理 */
|
|
|
+ /* 为了保证不重复创建节点 需要进行特殊过滤处理 */
|
|
|
if (i !== 0 && position.x === positions[0].x && position.y === positions[0].y && position.z ===
|
|
|
positions[0]
|
|
|
.z) {
|