mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Fix additional issues from review
This commit is contained in:
@ -133,8 +133,8 @@ plLayer* hsGMaterial::MakeBaseLayer()
|
||||
hsAssert(GetKey(), "All materials need a key (or temp key)");
|
||||
|
||||
plString buff;
|
||||
if( !GetKey()->GetName().IsNull() )
|
||||
buff = plString::Format("%s_Layer", GetKey()->GetName().c_str());
|
||||
if( !GetKeyName().IsNull() )
|
||||
buff = plString::Format("%s_Layer", GetKeyName().c_str());
|
||||
else
|
||||
buff = "Layer";
|
||||
hsgResMgr::ResMgr()->NewKey( buff, newLay, GetKey() != nil ? GetKey()->GetUoid().GetLocation() : plLocation::kGlobalFixedLoc );
|
||||
|
Reference in New Issue
Block a user