mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Convert plRegistryNode stuff to plString.
This commit is contained in:
@ -1293,7 +1293,7 @@ plLayerInterface* plLightMapGen::IMakeLightMapLayer(plMaxNode* node, plGeometryS
|
||||
// Make sure layer (and mip) name are unique across pages by putting the page name in
|
||||
const plPageInfo* pageInfo = plKeyFinder::Instance().GetLocationInfo(node->GetLocation());
|
||||
|
||||
plString layName = plString::Format("%s_%s_LIGHTMAPGEN", pageInfo->GetPage(), node->GetName());
|
||||
plString layName = plString::Format("%s_%s_LIGHTMAPGEN", pageInfo->GetPage().c_str(), node->GetName());
|
||||
|
||||
plKey layKey = node->FindPageKey(plLayer::Index(), layName);
|
||||
|
||||
@ -1626,4 +1626,4 @@ int plLightMapGen::IPowerOfTwo(int sz) const
|
||||
p2sz >>= 1;
|
||||
|
||||
return p2sz;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user