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:
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user