几何尺寸与公差论坛

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

PR 258737 F9 + edit existing Angle between dimension, then Cancel (Close), ch

[复制链接]
发表于 2009-2-26 14:56:32 | 显示全部楼层 |阅读模式
F9 + edit existing Angle between dimension, then Cancel (Close), changes still take effect
<< Don Turcotte  --  12/15/08  14:43:56>>
If you edit an existing Angle between dimension using F9, then cancel using Close, the changes still take effect.  You may have to cylce the edit window to Summary mode and back to Command mode to see this.
<<END>>

<< Changes made by Neil Kay -- 02/25/09  19:24:03>>
Action:  David Petrizze to Yanhua Huang
<<END>>
<< Changes made by Don Turcotte -- 12/15/08  16:11:41>>
Action:  Don Turcotte to David Petrizze, Status:  OPEN to REVIEW
<<END>>
<< Don Turcotte  --  12/15/08  16:08:10>>
Fixed in V44B.
Files inserted to server
------------------------
V44B\MENU\DIMANGDL.CPP
<<END>>
<< Changes made by Tim Wernicke -- 12/15/08  14:19:40>>
Priority:  to Critical
<<END>>
 楼主| 发表于 2009-3-2 21:27:30 | 显示全部楼层

回复: PR 258737 F9 + edit existing Angle between dimension, then Cancel (Clos

// PR258737
  if( m_pSavedDialogCommand )
  {
    CPCDcommand * pDialogCommand = m_pPartProgram->GetDialogCommand();
    if( pDialogCommand )
    {
      m_pSavedDialogCommand->prev = pDialogCommand->prev;
      if( m_pSavedDialogCommand->prev ) // in the program linked list
      {
        m_pSavedDialogCommand->prev->next = m_pSavedDialogCommand;

        m_pSavedDialogCommand->next = pDialogCommand->next;
        if( m_pSavedDialogCommand->next )
          m_pSavedDialogCommand->next->prev = m_pSavedDialogCommand;

        replace_pointer(m_pPartProgram, pDialogCommand, m_pSavedDialogCommand);
        replace_edit_pointers(m_pPartProgram,&pDialogCommand,&m_pSavedDialogCommand,1);
        delete pDialogCommand; // PR256131 - yanhua - Found memory leak when edit the 3D distance.
        pDialogCommand = NULL;
      }
    }
  }
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 18:51 , Processed in 0.036226 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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