프로젝트

일반

사용자정보

개정판 1ed39474

ID1ed39474258430dd776780537f1843aeb2128e0a
상위 7dcb95df
하위 892bd8a2

gaqhf 이(가) 5년 이상 전에 추가함

dev issue #000 : Modeling bug fix / ZeroLength로 인한 ModelItem ID 꼬임현상 수정

Change-Id: I43efe6bdc339c07480653909266980c9db972930

차이점 보기:

DTI_PID/SPPIDConverter/SPPIDModel/SPPID_Document.cs
298 298
                {
299 299
                    Line connLine = connectedItem as Line;
300 300

  
301
                    Connector otherConnector = connLine.CONNECTORS.Find(x => x.CONNECTEDITEM != symbol.UID);
302

  
301 303
                    double lineX = double.NaN;
302 304
                    double lineY = double.NaN;
303 305
                    // Symbol의 Connector ScenePoint
304
                    SPPIDUtil.ConvertPointBystring(connector.SCENECONNECTPOINT, ref lineX, ref lineY);
306
                    SPPIDUtil.ConvertPointBystring(otherConnector.SCENECONNECTPOINT, ref lineX, ref lineY);
305 307
                    double symbolX = double.NaN;
306 308
                    double symbolY = double.NaN;
307 309
                    SPPIDUtil.ConvertPointBystring(symbol.ORIGINALPOINT, ref symbolX, ref symbolY);
......
328 330
                {
329 331
                    Symbol connSymbol = connectedItem as Symbol;
330 332

  
333
                    Connector otherConnector = Line.CONNECTORS.Find(x => x.CONNECTEDITEM != connSymbol.UID);
334

  
331 335
                    double lineX = double.NaN;
332 336
                    double lineY = double.NaN;
333 337
                    // Line의 Connector ScenePoint
334
                    SPPIDUtil.ConvertPointBystring(connector.SCENECONNECTPOINT, ref lineX, ref lineY);
338
                    SPPIDUtil.ConvertPointBystring(otherConnector.SCENECONNECTPOINT, ref lineX, ref lineY);
335 339
                    double symbolX = double.NaN;
336 340
                    double symbolY = double.NaN;
337 341
                    SPPIDUtil.ConvertPointBystring(connSymbol.ORIGINALPOINT, ref symbolX, ref symbolY);

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)