Skip to content

Commit 7b2cf7b

Browse files
author
zhaokai
committed
3d状态放开
1 parent 0787409 commit 7b2cf7b

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

src/service/PlotBase/SvgLoader/element/PathElement.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/*
44
* @Author: your name
55
* @Date: 2021-08-30 18:10:16
6-
* @LastEditTime: 2022-04-07 19:16:22
7-
* @LastEditors: Do not edit
6+
* @LastEditTime: 2022-05-18 19:51:52
7+
* @LastEditors: zk
88
* @Description: In User Settings Edit
99
* @FilePath: \MapGISPlotBase\src\svg-loader\PathElement.js
1010
*/
@@ -158,15 +158,14 @@ export default class PathElement extends RenderedElement {
158158
const tureMatrix = transformMatrix.clone().multiply(matrix);
159159
_coords = this._getCoords(tureMatrix);
160160
// 部件竖立 (特殊逻辑)
161-
if (this._dimModal.is3DTran()) {
161+
// if (this._dimModal.is3DTran()) {
162162
const _pnts = new Point(
163163
this._dimModal.getTranslatePoint().x,
164164
this._dimModal.getTranslatePoint().y
165165
);
166-
167166
_pnts.applyMatrix3(tureMatrix);
168167
this._dimModal.setTranslatePnt(_pnts);
169-
}
168+
// }
170169
}
171170
} else {
172171
_coords = [];

src/service/PlotBase/SvgLoader/element/SimpleElement/SimpleArea.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ class SimpleArea extends BaseSimple {
302302
return;
303303
}
304304

305+
305306
if (useStyle === '13') {
306307
this._nonAction(child);
307308
}

src/service/PlotBase/SvgLoader/element/TSpanElement.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
/*
33
* @Author: your name
44
* @Date: 2021-09-14 18:57:30
5-
* @LastEditTime: 2022-03-04 13:45:41
6-
* @LastEditors: Do not edit
5+
* @LastEditTime: 2022-05-18 19:51:19
6+
* @LastEditors: zk
77
* @Description: In User Settings Edit
88
* @FilePath: \MapGISPlotBase\src\svg-loader\element\TSapnElement.js
99
*/
@@ -159,15 +159,14 @@ class TSpanElement extends TextElement {
159159
textGeo.vertexArrayBuffer.applyMatrix4(matrix4_2);
160160

161161
// 处理文字对象的竖立(特殊逻辑)
162-
if (this._dimModal.is3DTran()) {
162+
// if (this._dimModal.is3DTran()) {
163163
const _p = this._dimModal.getTranslatePoint();
164164
const tempY = -this._y;
165165
const p = new Point(_p.x, tempY);
166166
p.applyMatrix3(t1);
167167
p.applyMatrix3(t2);
168-
169168
this._dimModal.setTranslatePnt(new Point(p.x, p.y));
170-
}
169+
// }
171170
}
172171

173172
getBoundingBox() {

0 commit comments

Comments
 (0)