#include <ndbldpth.h>
Inheritance diagram for InitNodeBlendPathAction:
Public Member Functions | |
InitNodeBlendPathAction () | |
~InitNodeBlendPathAction () | |
virtual ActionCode | Execute () |
Executes the action. Destroys the blend path node's cached info. | |
Static Public Member Functions | |
static ActionCode | Init (UndoableOperation *pOp, ActionList *pActionList, NodeBlendPath *pNodeBlendPath) |
Simply destroys the cached information for this blend path. | |
Protected Attributes | |
NodeBlendPath * | m_pNodeBlendPath |
Definition at line 208 of file ndbldpth.h.
|
Definition at line 214 of file ndbldpth.h. 00214 { m_pNodeBlendPath = NULL; }
|
|
Definition at line 215 of file ndbldpth.h.
|
|
Executes the action. Destroys the blend path node's cached info.
Reimplemented from Action. Definition at line 1125 of file ndbldpth.cpp. 01126 { 01127 if (pOperation->IS_KIND_OF(UndoableOperation)) 01128 return InitNodeBlendPathAction::Init((UndoableOperation*)pOperation,pOppositeActLst,m_pNodeBlendPath); 01129 else 01130 { 01131 ERROR3("InitNodeBlendPathAction::Execute() called with op that's not an undoable op"); 01132 return AC_FAIL; 01133 } 01134 }
|
|
Simply destroys the cached information for this blend path.
Definition at line 1090 of file ndbldpth.cpp. 01091 { 01092 ERROR2IF(pOp == NULL,AC_FAIL,"No undo op ptr given"); 01093 ERROR2IF(pActionList == NULL,AC_FAIL,"No action list given"); 01094 ERROR2IF(pNodeBlendPath == NULL,AC_FAIL,"No blend path node given"); 01095 01096 UINT32 ActSize = sizeof(InitNodeBlendPathAction); 01097 InitNodeBlendPathAction* pNewAction; 01098 ActionCode Ac = Action::Init(pOp,pActionList,ActSize,CC_RUNTIME_CLASS(InitNodeBlendPathAction),(Action**)&pNewAction); 01099 01100 if (Ac != AC_FAIL && pNewAction != NULL) 01101 { 01102 pNewAction->m_pNodeBlendPath = pNodeBlendPath; 01103 pNodeBlendPath->DestroyCachedInformation(); 01104 } 01105 01106 return Ac; 01107 }
|
|
Definition at line 219 of file ndbldpth.h. |