Changed: Minor changes

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent a245857986
commit 7a23ff8fd6

@ -444,13 +444,13 @@ bool CCtrlSheetInfo::parseCtrlInfo(xmlNodePtr cur, CInterfaceGroup * /* parentGr
for(uint i=0;i<strList.size();i++) for(uint i=0;i<strList.size();i++)
{ {
BRICK_TYPE::EBrickType brickType= BRICK_TYPE::toBrickType(strList[i]); BRICK_TYPE::EBrickType brickType= BRICK_TYPE::toBrickType(strList[i]);
if(brickType==BRICK_TYPE::UNKNOWN) if (brickType==BRICK_TYPE::UNKNOWN)
{ {
nlwarning("<CCtrlSheetInfo::parseCtrlInfo> %s has an unvalid Brick Type", (const char *) prop); nlwarning("<CCtrlSheetInfo::parseCtrlInfo> %s has an unvalid Brick Type", (const char *) prop);
} }
else else
{ {
// must not have so much brick type, else must change code! // must not have so much brick type else must change code!
// nlassert(brickType<32); // nlassert(brickType<32);
// Ok set the bit associated // Ok set the bit associated

Loading…
Cancel
Save