Browse Source

Fix for ComponentMgr not showing anything. Make the ini file error more accurate as well.

Adam Johnson 14 years ago
parent
commit
aeeec0b013
  1. 8
      Sources/Tools/MaxComponent/plComponentMgr.cpp
  2. 2
      Sources/Tools/MaxMain/GlobalUtility.cpp

8
Sources/Tools/MaxComponent/plComponentMgr.cpp

@ -87,8 +87,14 @@ int IDescCompare(ClassDesc *desc1, ClassDesc *desc2);
void plComponentMgr::Register(ClassDesc *desc)
{
// Organize desc's by category and name
// No descs? Go ahead and push it to the back...
if (fDescs.size() == 0)
{
fDescs.push_back(desc);
return;
}
// Organize desc's by category and name
std::vector<ClassDesc*>::iterator it;
for (it = fDescs.begin(); it != fDescs.end(); it++)
{

2
Sources/Tools/MaxMain/GlobalUtility.cpp

@ -203,7 +203,7 @@ DWORD PlasmaMax::Start()
const char* pathTemp = plMaxConfig::GetClientPath(false, true);
if (pathTemp == nil)
{
hsMessageBox("PlasmaMAX2.ini is missing the Client Path", "Error", hsMessageBoxNormal);
hsMessageBox("PlasmaMAX2.ini is missing or invalid", "Plasma/2.0 Error", hsMessageBoxNormal);
}
else
{

Loading…
Cancel
Save