几何尺寸与公差论坛

 找回密码
 注册
查看: 137|回复: 1

PR 260589 Edit true position FCF (F9), change secondary datum C to MMC, press

[复制链接]
发表于 2009-3-29 21:19:26 | 显示全部楼层 |阅读模式
Edit true position FCF (F9), change secondary datum C to MMC, press OK, PC-DMIS crashes

<< Don Turcotte  --  03/18/09  09:44:43>>
Edit true position FCF (F9), change secondary datum C to MMC, press OK, PC-DMIS crashes.   This is a problem in both V432 and V44B.

Steps to reproduce:
Load program attached to 246135
F9 on FCFL&Auml;GE2
Change secondary datum C to select MMC (but leave modifier list open)
Click OK

If you select MMC, then click elsewhere on dialog to before clicking Ok, this does not crash

Results:
PC-DMIS crashes
<<END>>

<< Don Turcotte  --  03/23/09  15:13:36>>
The original fix here was causing a crash in V432 for the program in #248043.  I have reworked the fix to solve this PR and leave #248043 working correctly.
Files inserted to server
------------------------
V432\DIMENS\TP_START.CPP
V44B\DIMENS\TP_START.CPP
<<END>>
<< Changes made by Don Turcotte -- 03/23/09  15:14:17>>
Action:  Don Turcotte to Yanhua Huang, Status:  CLOSED to REVIEW
<<END>>
<< Changes made by Don Turcotte -- 03/19/09  08:19:16>>
Status:  RESOLVED to CLOSED
<<END>>
<< Yanhua Huang  --  03/19/09  19:59:33>>
Reviewed code of V432 and V44B, did test in V44B, OK.
<<END>>
<< Changes made by Yanhua Huang -- 03/19/09  19:56:15>>
Action:  Yanhua Huang to Don Turcotte, Status:  REVIEW to RESOLVED
<<END>>
<< Don Turcotte  --  03/18/09  15:12:15>>
CPCDtp_start_location::duplicate_datums() must delete the drf alignments since they will reference any previously duplicated datums.
Fixed in V432, V44B.
Files inserted to server
------------------------
V432\DIMENS\TP_START.CPP
V44B\DIMENS\TP_START.CPP
<<END>>
<< Changes made by Don Turcotte -- 03/18/09  15:12:45>>
Action:  Don Turcotte to Yanhua Huang, Status:  OPEN to REVIEW
<<END>>
<< Changes made by Tim Wernicke -- 03/18/09  12:12:53>>
Priority:  to Stop Rel.
<<END>>
 楼主| 发表于 2009-3-29 21:28:22 | 显示全部楼层

回复: PR 260589 Edit true position FCF (F9), change secondary datum C to MMC,

t:\V44B\DIMENS\TP_START.CPP

void CPCDtp_start_location::duplicate_datums()
{
// PR260589 - set the datums being used to NULL and delete the drf alignments since they will reference any previously duplicated datums
if( m_datum_ref )
{
((CPCDdatum_reference*)m_datum_ref)->set_datum(PRIMARY,NULL);
((CPCDdatum_reference*)m_datum_ref)->set_datum(SECONDARY,NULL);
((CPCDdatum_reference*)m_datum_ref)->set_datum(TERTIARY,NULL);
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 17:47 , Processed in 0.035636 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表