mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Fix additional issues from review
This commit is contained in:
@ -158,8 +158,8 @@ hsGMaterial* plProxyGen::IMakeProxyMaterial() const
|
||||
hsGMaterial* retVal = new hsGMaterial();
|
||||
|
||||
plString buff;
|
||||
if( !GetKey()->GetName().IsNull() )
|
||||
buff = plString::Format("%s_Material", GetKey()->GetName().c_str());
|
||||
if( !GetKeyName().IsNull() )
|
||||
buff = plString::Format("%s_Material", GetKeyName().c_str());
|
||||
else
|
||||
buff = "ProxyMaterial";
|
||||
hsgResMgr::ResMgr()->NewKey( buff, retVal, GetKey() ? GetKey()->GetUoid().GetLocation() : plLocation::kGlobalFixedLoc );
|
||||
@ -233,8 +233,8 @@ void plProxyGen::IGenerateProxy()
|
||||
if( fProxyDrawables[idx] && !fProxyDrawables[idx]->GetKey() )
|
||||
{
|
||||
plString buff;
|
||||
if( !GetKey()->GetName().IsNull() )
|
||||
buff = plString::Format("%s_ProxyDrawable", GetKey()->GetName().c_str());
|
||||
if( !GetKeyName().IsNull() )
|
||||
buff = plString::Format("%s_ProxyDrawable", GetKeyName().c_str());
|
||||
else
|
||||
buff = "ProxyDrawable";
|
||||
|
||||
|
Reference in New Issue
Block a user