#3948 HoloLens labels : Add text label source info

This commit is contained in:
Magne Sjaastad
2019-01-15 10:53:54 +01:00
parent 6695cf2a39
commit 5222950476
8 changed files with 144 additions and 44 deletions

View File

@@ -56,6 +56,7 @@
#include "RivWellFracturePartMgr.h"
#include "RivWellPathPartMgr.h"
#include "RivWellPathSourceInfo.h"
#include "RivTextLabelSourceInfo.h"
#include "RiuViewer.h"
@@ -635,6 +636,8 @@ void RivWellPathPartMgr::buildWellPathParts(const caf::DisplayCoordTransform* di
part->setEffect(eff.p());
part->setPriority(RivPartPriority::Text);
part->setSourceInfo(new RivTextLabelSourceInfo(m_rimWellPath, cvfString, textCoord));
m_wellLabelPart = part;
}