1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 04:09:16 +00:00

Get rid of NEW(), TRACKED_NEW, and ZERO().

This commit is contained in:
Darryl Pogue
2012-01-21 01:09:48 -08:00
committed by Adam Johnson
parent 30430d3024
commit 5013a978eb
423 changed files with 2500 additions and 2503 deletions

View File

@ -111,7 +111,7 @@ plAGChannel * plScalarChannel::MakeBlend(plAGChannel * channelB,
if (chanB)
{
result = TRACKED_NEW plScalarBlend(this, chanB, chanBias);
result = new plScalarBlend(this, chanB, chanBias);
} else {
hsStatusMessage("Blend operation failed.");
}
@ -122,14 +122,14 @@ plAGChannel * plScalarChannel::MakeBlend(plAGChannel * channelB,
// --------------
plAGChannel * plScalarChannel::MakeZeroState()
{
return TRACKED_NEW plScalarConstant(Value(0));
return new plScalarConstant(Value(0));
}
// MakeTimeScale --------------------------------------------------------
// --------------
plAGChannel * plScalarChannel::MakeTimeScale(plScalarChannel *timeSource)
{
return TRACKED_NEW plScalarTimeScale(this, timeSource);
return new plScalarTimeScale(this, timeSource);
}
/////////////////////////////////////////////////////////////////////////////////////////
@ -373,7 +373,7 @@ plAGChannel *plScalarControllerChannel::MakeCacheChannel(plAnimTimeConvert *atc)
{
plControllerCacheInfo *cache = fController->CreateCache();
cache->SetATC(atc);
return TRACKED_NEW plScalarControllerCacheChannel(this, cache);
return new plScalarControllerCacheChannel(this, cache);
}
// Write -------------------------------------------------------------