Parse expression also in the attribute radius.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-01-11 13:28:48 +02:00
parent 4977604106
commit 6be6eb80b0

View File

@ -1093,6 +1093,7 @@ QStringList VAbstractPattern::ListPointExpressions() const
{ {
const QDomElement dom = list.at(i).toElement(); const QDomElement dom = list.at(i).toElement();
// Each tag can contains several attributes.
try try
{ {
expressions.append(GetParametrString(dom, AttrLength)); expressions.append(GetParametrString(dom, AttrLength));
@ -1136,6 +1137,15 @@ QStringList VAbstractPattern::ListPointExpressions() const
{ {
Q_UNUSED(e) Q_UNUSED(e)
} }
try
{
expressions.append(GetParametrString(dom, AttrRadius));
}
catch (VExceptionEmptyParameter &e)
{
Q_UNUSED(e)
}
} }
return expressions; return expressions;