PFTestGoToRotation::~PFTestGoToRotation() { int wasHolding = theHold.Holding(); if (wasHolding) theHold.Suspend(); DeleteAllRefsFromMe(); if (wasHolding) theHold.Resume(); }
SWrapObject::~SWrapObject() { pblock=NULL; DeleteAllRefsFromMe(); if (cmesh) delete cmesh; vnorms.SetCount(0);vnorms.Shrink(); fnorms.SetCount(0);fnorms.Shrink(); }
PBombObject::~PBombObject() { DeleteAllRefsFromMe(); if (ff) delete ff; if (mf) delete mf; }
TouchSensorObject::~TouchSensorObject() { DeleteAllRefsFromMe(); for (int i = 0; i < objects.Count(); i++) { TouchSensorObj *obj = objects[i]; delete obj; } }
WindObject::~WindObject() { if (mf) delete mf; if (ff) delete ff; DeleteAllRefsFromMe(); }
ForceObject::~ForceObject() { DeleteAllRefsFromMe(); if (ff) delete ff; if (mf) delete mf; }
void CreateMorphMode::End(IObjParam *i) { svNode = node; if (obj) obj->EndEditParams(i,END_EDIT_REMOVEUI,NULL); DeleteAllRefsFromMe(); ip = NULL; obj = NULL; }
SwitchObject::~SwitchObject() { DeleteAllRefsFromMe(); for (int i = 0; i < objects.Count(); i++) { SwitchObj *obj = objects[i]; delete obj; } }
void CMaxMaterialCollection::FinalRelease() { UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_PRE_OPEN); UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_POST_OPEN); UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_OPEN_FAILED); UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_PRE_MERGE); UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_POST_MERGE); UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_PRE_SAVE); UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_POST_SAVE); UnRegisterNotification(NotifyProc, this, NOTIFY_PRE_IMPORT); UnRegisterNotification(NotifyProc, this, NOTIFY_POST_IMPORT); UnRegisterNotification(NotifyProc, this, NOTIFY_SYSTEM_PRE_NEW); UnRegisterNotification(NotifyProc, this, NOTIFY_SYSTEM_POST_NEW); UnRegisterNotification(NotifyProc, this, NOTIFY_SYSTEM_PRE_RESET); UnRegisterNotification(NotifyProc, this, NOTIFY_SYSTEM_POST_RESET); UnRegisterNotification(NotifyProc, this, NOTIFY_SCENE_UNDO); UnRegisterNotification(NotifyProc, this, NOTIFY_SCENE_REDO); #ifdef SUSPEND_UNDO UnRegisterNotification(NotifyProc, this, NOTIFY_SCENE_PRE_UNDO); UnRegisterNotification(NotifyProc, this, NOTIFY_SCENE_PRE_REDO); #endif UnRegisterNotification(NotifyProc, (void *)this, NOTIFY_MEDIT_SHOW); #ifdef TP_SUSPEND_FOR_FILELINK UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_PRE_BIND ); UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_POST_BIND ); UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_PRE_DETACH ); UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_POST_DETACH ); UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_PRE_RELOAD ); UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_POST_RELOAD ); UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_PRE_ATTACH ); UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_POST_ATTACH ); #endif //and finally a mechanism for other parts of the system to actively suspend TP UnRegisterNotification(NotifyProc, this, NOTIFY_TOOLPALETTE_MTL_SUSPEND ); UnRegisterNotification(NotifyProc, this, NOTIFY_TOOLPALETTE_MTL_RESUME ); //for DID 642266, pre and post cloning UnRegisterNotification(NotifyProc, this, NOTIFY_PRE_NODES_CLONED ); UnRegisterNotification(NotifyProc, this, NOTIFY_POST_NODES_CLONED ); DeleteAllRefsFromMe(); if(shXmlMtlDllModule) { FreeLibrary(shXmlMtlDllModule); shXmlMtlDllModule = NULL; } }
AudioP3Dlg::~AudioP3Dlg() { DeleteAllRefsFromMe(); ReleaseISpinner(iBaseX); ReleaseISpinner(iBaseY); ReleaseISpinner(iBaseZ); ReleaseISpinner(iTargetX); ReleaseISpinner(iTargetY); ReleaseISpinner(iTargetZ); ReleaseISpinner(iSamples); ReleaseISpinner(iThreshold); }
FloatLimitControlDlg::~FloatLimitControlDlg() { ReleaseISpinner(mUpperLimitSpin); ReleaseISpinner(mLowerLimitSpin); ReleaseISpinner(mUpperWidthSpin); ReleaseISpinner(mLowerWidthSpin); LimitControlDlgManager::GetLimitCtrlDlgManager()->RemoveDialog(this); theHold.Suspend(); DeleteAllRefsFromMe(); theHold.Resume(); GetCOREInterface()->UnRegisterTimeChangeCallback(this); }
EllipseObject::~EllipseObject() { DeleteAllRefsFromMe(); myParamBlock = NULL; UnReadyInterpParameterBlock(); }
SimpleParticle::~SimpleParticle() { DeleteAllRefsFromMe(); }
SimpleObject::~SimpleObject() { DeleteAllRefsFromMe(); }
LuminaireObject::~LuminaireObject() { DeleteAllRefsFromMe(); }
void NotifyMgr::DeleteThis() { //delete refs but' don't delete this, since it's static. DeleteAllRefsFromMe(); }
void Composite::Reset() { DeleteAllRefsFromMe(); compCD.MakeAutoParamBlocks(this); // make and intialize paramblock2 Init(); }
void TrackMouseCallBack::end_track() { DeleteAllRefsFromMe(); }
StdDualVSImp::~StdDualVSImp() { DeleteAllRefsFromMe(); caches.SetCount(0); }
DonutObject::~DonutObject() { DeleteAllRefsFromMe(); pblock = NULL; UnReadyInterpParameterBlock(); }
TapeHelpObject::~TapeHelpObject() { DeleteAllRefsFromMe(); pblock = NULL; }
// Destructor. Remove any references we have made. NotifyMgr::~NotifyMgr() { DeleteAllRefsFromMe(); }
plComponentBase::~plComponentBase() { DeleteAllRefsFromMe(); }
NavInfoObject::~NavInfoObject() { DeleteAllRefsFromMe(); }
TriPatchObject::~TriPatchObject() { DeleteAllRefsFromMe(); pblock = NULL; }
BackgroundObject::~BackgroundObject() { DeleteAllRefsFromMe(); }
FogObject::~FogObject() { DeleteAllRefsFromMe(); }
// Destructor. Remove any references we have made. NotifyMgr::~NotifyMgr() { //RemoveAllReferences(); DeleteAllRefsFromMe(); }
ProtHelpObject::~ProtHelpObject() { DeleteAllRefsFromMe(); }
MorphObject::~MorphObject() { DeleteAllRefsFromMe(); }