Fix issue with parser
This commit is contained in:
@@ -45,10 +45,10 @@ namespace YAML
|
|||||||
{
|
{
|
||||||
if (node.IsScalar())
|
if (node.IsScalar())
|
||||||
{
|
{
|
||||||
size_t ret = c4::unformat(c4::to_csubstr(node.Scalar()), "({},{},{}),({},{},{})", bbox.min.x, bbox.min.y, bbox.min.z, bbox.max.x, bbox.max.y, bbox.max.z);
|
size_t ret = c4::unformat(c4::to_csubstr(node.Scalar().c_str()), "({},{},{}),({},{},{})", bbox.min.x, bbox.min.y, bbox.min.z, bbox.max.x, bbox.max.y, bbox.max.z);
|
||||||
return ret != c4::csubstr::npos;
|
return ret != c4::csubstr::npos;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user