PFTestGoToRotation::~PFTestGoToRotation()
{
	int wasHolding = theHold.Holding();
	if (wasHolding) theHold.Suspend();
	DeleteAllRefsFromMe();
	if (wasHolding) theHold.Resume();
}
Beispiel #2
0
SWrapObject::~SWrapObject()
{ pblock=NULL;
  DeleteAllRefsFromMe();
  if (cmesh) delete cmesh;
  vnorms.SetCount(0);vnorms.Shrink();
  fnorms.SetCount(0);fnorms.Shrink();
}
Beispiel #3
0
PBombObject::~PBombObject()
{	
	DeleteAllRefsFromMe();
	if (ff)
		delete ff;	
	if (mf)
		delete mf;	
}
Beispiel #4
0
TouchSensorObject::~TouchSensorObject()
{
    DeleteAllRefsFromMe();
    for (int i = 0; i < objects.Count(); i++) {
        TouchSensorObj *obj = objects[i];
        delete obj;
    }
}
Beispiel #5
0
WindObject::~WindObject()
{	
	if (mf)
		delete mf;	
	if (ff)
		delete ff;	
	DeleteAllRefsFromMe();
}
Beispiel #6
0
ForceObject::~ForceObject()
{
    DeleteAllRefsFromMe();
    if (ff)
        delete ff;
    if (mf)
        delete mf;
}
Beispiel #7
0
void CreateMorphMode::End(IObjParam *i)
   {
   svNode = node;
   if (obj) obj->EndEditParams(i,END_EDIT_REMOVEUI,NULL);
   DeleteAllRefsFromMe();
   ip  = NULL;
   obj = NULL;
   }
Beispiel #8
0
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;
	}

}
Beispiel #10
0
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);
}
Beispiel #12
0
EllipseObject::~EllipseObject()
{
	DeleteAllRefsFromMe();
	myParamBlock = NULL;
	UnReadyInterpParameterBlock();
}
Beispiel #13
0
SimpleParticle::~SimpleParticle()
	{
	DeleteAllRefsFromMe();
	}
Beispiel #14
0
SimpleObject::~SimpleObject()
	{
	DeleteAllRefsFromMe();
	}
Beispiel #15
0
LuminaireObject::~LuminaireObject() 
{ 
	DeleteAllRefsFromMe();
}
Beispiel #16
0
void NotifyMgr::DeleteThis() 
{
	//delete refs but' don't delete this, since it's static.
	DeleteAllRefsFromMe();
}  
Beispiel #17
0
void Composite::Reset() 
	{	
	DeleteAllRefsFromMe();
	compCD.MakeAutoParamBlocks(this);	// make and intialize paramblock2
	Init();
	}
Beispiel #18
0
void 
TrackMouseCallBack::end_track()
{
	DeleteAllRefsFromMe();
}
StdDualVSImp::~StdDualVSImp()
{
	DeleteAllRefsFromMe();
	caches.SetCount(0);
}
Beispiel #20
0
DonutObject::~DonutObject()
	{
	DeleteAllRefsFromMe();
	pblock = NULL;
	UnReadyInterpParameterBlock();
	}
Beispiel #21
0
TapeHelpObject::~TapeHelpObject()
{
    DeleteAllRefsFromMe();
    pblock = NULL;
}
Beispiel #22
0
// Destructor. Remove any references we have made.
NotifyMgr::~NotifyMgr() {
   DeleteAllRefsFromMe();
}
Beispiel #23
0
plComponentBase::~plComponentBase()
{
    DeleteAllRefsFromMe();
}
Beispiel #24
0
NavInfoObject::~NavInfoObject()
{
    DeleteAllRefsFromMe();
}
Beispiel #25
0
TriPatchObject::~TriPatchObject()
	{
	DeleteAllRefsFromMe();
	pblock = NULL;
	}
Beispiel #26
0
BackgroundObject::~BackgroundObject()
{
    DeleteAllRefsFromMe();
}
Beispiel #27
0
FogObject::~FogObject()
{
    DeleteAllRefsFromMe();
}
Beispiel #28
0
// Destructor. Remove any references we have made.
NotifyMgr::~NotifyMgr() {
	//RemoveAllReferences();
	DeleteAllRefsFromMe();
}
Beispiel #29
0
ProtHelpObject::~ProtHelpObject()
{
   DeleteAllRefsFromMe();
}
Beispiel #30
0
MorphObject::~MorphObject()
   {
   DeleteAllRefsFromMe();
   }