fix #IOQOS 修正GetPoint在UCS并且存在基点的情况下拾取点错误的问题。

pull/195/MERGE
ChenX_Mac 6 years ago
parent efe0a77dbe
commit c38b3e75e5

@ -1,4 +1,4 @@
import { Vector3 } from 'three';
import { Vector3, Matrix4 } from 'three';
import { end } from 'xaop';
import { app } from '../../ApplicationServices/Application';
import { midPoint, polar } from '../../Geometry/GeUtils';
@ -159,8 +159,7 @@ export class GetPoint2PromptBlock extends PromptBlock
}
get Value(): Vector3
{
let ucs = app.m_Editor.UCSMatrix;
let ucs = new Matrix4().extractRotation(app.m_Editor.UCSMatrix.clone());
return this.basePoint
.clone()
.add(

Loading…
Cancel
Save