mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#115) Stopped creating text drawables for empty strings
Note: Adding empty strings to cvf::TextDrawer will cause asserts.
This commit is contained in:
@@ -427,6 +427,7 @@ void RivFaultPartMgr::createLabelWithAnchorLine(const cvf::Part* part)
|
||||
m_faultLabelLinePart = NULL;
|
||||
|
||||
if (!part) return;
|
||||
if (m_rimFault->name().isEmpty()) return;
|
||||
|
||||
cvf::BoundingBox bb = part->boundingBox();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user