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

Convert plUoid's object name to a plString

This commit is contained in:
2012-01-28 16:24:20 -08:00
parent 442a733fbb
commit e34414889f
122 changed files with 810 additions and 842 deletions

View File

@ -373,7 +373,7 @@ hsBool plLightInfo::MsgReceive(plMessage* msg)
plRenderMsg* rendMsg = plRenderMsg::ConvertNoRef(msg);
if( rendMsg )
{
plProfile_BeginLap(LightInfo, this->GetKey()->GetUoid().GetObjectName());
plProfile_BeginLap(LightInfo, this->GetKey()->GetUoid().GetObjectName().c_str());
if( !fDeviceRef && !GetProperty(kLPShadowOnly) )
{
@ -382,7 +382,7 @@ hsBool plLightInfo::MsgReceive(plMessage* msg)
ICheckMaxStrength();
plProfile_EndLap(LightInfo, this->GetKey()->GetUoid().GetObjectName());
plProfile_EndLap(LightInfo, this->GetKey()->GetUoid().GetObjectName().c_str());
return true;
}
plGenRefMsg* refMsg = plGenRefMsg::ConvertNoRef(msg);
@ -395,7 +395,7 @@ hsBool plLightInfo::MsgReceive(plMessage* msg)
case kProjection:
fProjection = plLayerInterface::ConvertNoRef(refMsg->GetRef());
{
if( GetKey() && GetKey()->GetName() && !strncmp(GetKey()->GetName(), "RTPatternLight", strlen("RTPatternLight")) )
if( GetKey() && !GetKey()->GetName().CompareN("RTPatternLight", strlen("RTPatternLight")) )
SetProperty(kLPForceProj, true);
}
break;

View File

@ -214,9 +214,9 @@ hsBool plShadowCaster::MsgReceive(plMessage* msg)
plRenderMsg* rendMsg = plRenderMsg::ConvertNoRef(msg);
if( rendMsg )
{
plProfile_BeginLap(ShadowCaster, this->GetKey()->GetUoid().GetObjectName());
plProfile_BeginLap(ShadowCaster, this->GetKey()->GetUoid().GetObjectName().c_str());
IOnRenderMsg(rendMsg);
plProfile_EndLap(ShadowCaster, this->GetKey()->GetUoid().GetObjectName());
plProfile_EndLap(ShadowCaster, this->GetKey()->GetUoid().GetObjectName().c_str());
return true;
}

View File

@ -180,9 +180,9 @@ hsBool plShadowMaster::MsgReceive(plMessage* msg)
plRenderMsg* rendMsg = plRenderMsg::ConvertNoRef(msg);
if( rendMsg )
{
plProfile_BeginLap(ShadowMaster, this->GetKey()->GetUoid().GetObjectName());
plProfile_BeginLap(ShadowMaster, this->GetKey()->GetUoid().GetObjectName().c_str());
IBeginRender();
plProfile_EndLap(ShadowMaster, this->GetKey()->GetUoid().GetObjectName());
plProfile_EndLap(ShadowMaster, this->GetKey()->GetUoid().GetObjectName().c_str());
return true;
}