Commit 1a9ab21d by 李定达

1修复无子节点不打印杯贴bug

parent e7c1d76e
No preview for this file type
......@@ -250,10 +250,10 @@ bool PrintLib::_LabPrintOrder(rapidxml::xml_node<> * xmlNode,rapidjson::Documen
//循环解析xml
for(;node!=NULL;node = node->next_sibling())
{
rapidxml::xml_node<> * childMath = node->first_node(); //<math
//rapidxml::xml_node<> * childMath = node->first_node(); //<math
if(childMath == NULL)
continue;
//if(childMath == NULL)
// continue;
std::string nodeName = node->name();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment