mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3948 HoloLens labels : Add text label source info
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user