几何尺寸与公差论坛

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

PR 249354 Surface Profile FCF causes program to Crash when saving

[复制链接]
发表于 2009-1-20 16:53:07 | 显示全部楼层 |阅读模式
Surface Profile FCF causes program to Crash when saving
<< David Tackes  --  07/25/07  11:38:35>>
A set of 256 vector points are surface profiled to ABC (no modifiers).  The old Legacy method works OK.  The new FCF method works and reports correctly BUT once this command is in the program, I can no longer do a Save As to back up my program.  PC-DMIS will crash.  (Regular Save is OK).
<<END>>

<< Changes made by Neil Kay -- 12/12/08  09:25:24>>
Action:  Matt Gotch to Yanhua Huang, Assigned:  Don Turcotte to CMM Group
<<END>>
<< Changes made by Neil Kay -- 07/23/08  12:10:38>>
Action:  David Petrizze to Matt Gotch
<<END>>
<< Don Turcotte  --  07/26/07  13:34:14>>
This crashes only when the edit window cursor is on the Surface Profile FCF so the trihedron is drawn in the graphics window when File SaveAs is selected.
I have fixed this in V42 beta and V43B.
Files inserted to server
------------------------
V42\SOURCE\GLOBALS.CPP
V43B\SOURCE\GLOBALS.CPP
<<END>>
<< Changes made by Don Turcotte -- 07/26/07  13:36:07>>
Action:  Don Turcotte to David Petrizze, Status:  OPEN to REVIEW
<<END>>
<< Changes made by Tim Wernicke -- 07/25/07  14:33:21>>
Category:  dimensions to GD&T, Action:  Tim Wernicke to Don Turcotte, Assigned:   to Don Turcotte, Priority:  to Critical
<<END>>
 楼主| 发表于 2009-1-20 17:08:15 | 显示全部楼层

回复: PR 249354 Surface Profile FCF causes program to Crash when saving

t:\V44B\SOURCE\GLOBALS.CPP
CPCDcommand * duplicate_objects(CPCDpart_program *m_pPartProgram, CPCDcommand * start_object, CPCDcommand * end_object

, CPCDcommand ***old_ptr_list, CPCDcommand ***new_ptr_list, int* count, int**delete_flags, BOOLbForceSerializeAsId/*=TRUE*/)
boolsave_bInMainPartProgramSerializeOp = m_pPartProgram->m_bInMainPartProgramSerializeOp;

boolsave_bInMainPartProgramDeserializeOp = m_pPartProgram->m_bInMainPartProgramDeserializeOp;

m_pPartProgram->m_bInMainPartProgramSerializeOp = false;

m_pPartProgram->m_bInMainPartProgramDeserializeOp = false;


// PR249354 - Restore these flags

m_pPartProgram->m_bInMainPartProgramSerializeOp = save_bInMainPartProgramSerializeOp;

m_pPartProgram->m_bInMainPartProgramDeserializeOp = save_bInMainPartProgramDeserializeOp;

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 00:59 , Processed in 0.037426 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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