(#115) Drawing the anchor line even if the fault name is empty

This commit is contained in:
Pål Hagen 2015-07-02 16:20:29 +02:00
parent 1cf2c03f78
commit 610553644e

View File

@ -427,7 +427,6 @@ void RivFaultPartMgr::createLabelWithAnchorLine(const cvf::Part* part)
m_faultLabelLinePart = NULL;
if (!part) return;
if (m_rimFault->name().isEmpty()) return;
cvf::BoundingBox bb = part->boundingBox();
@ -445,6 +444,7 @@ void RivFaultPartMgr::createLabelWithAnchorLine(const cvf::Part* part)
labelPosition.z() += bb.extent().z() / 2;
// Fault label
if (!m_rimFault->name().isEmpty())
{
cvf::Font* standardFont = RiaApplication::instance()->standardFont();