mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 22:59:24 +00:00
Replaced StringTable->insert("") with StringTable->EmptyString()
This commit is contained in:
parent
7cf20413c3
commit
332c06ae82
33 changed files with 1178 additions and 1178 deletions
|
|
@ -57,7 +57,7 @@ RibbonData::RibbonData()
|
|||
mUseFadeOut = false;
|
||||
mFadeAwayStep = 0.032f;
|
||||
segmentsPerUpdate = 1;
|
||||
mMatName = StringTable->insert("");
|
||||
mMatName = StringTable->EmptyString();
|
||||
mTileScale = 1.0f;
|
||||
mFixedTexcoords = false;
|
||||
mSegmentSkipAmount = 0;
|
||||
|
|
@ -318,7 +318,7 @@ void Ribbon::processTick(const Move* move)
|
|||
safeDeleteObject();
|
||||
return;
|
||||
//}
|
||||
//mSegmentPoints.pop_back();
|
||||
//mSegmentPoints.pop_back();
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -456,7 +456,7 @@ void Ribbon::setShaderParams() {
|
|||
F32 length = (F32)mDataBlock->mRibbonLength;
|
||||
Point3F radius(numSegments / length, numSegments, length);
|
||||
MaterialParameters* matParams = mRibbonMat->getMaterialParameters();
|
||||
matParams->setSafe( mRadiusSC, radius );
|
||||
matParams->setSafe( mRadiusSC, radius );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue