MCPcopy Create free account
hub / github.com/comaps/comaps / SelectObject

Method SelectObject

libs/drape_frontend/drape_engine.cpp:541–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541void DrapeEngine::SelectObject(SelectionShape::ESelectedObject obj, m2::PointD const & pt, FeatureID const & featureId,
542 bool isAnim, bool isGeometrySelectionAllowed, bool isSelectionShapeVisible)
543{
544 m_threadCommutator->PostMessage(ThreadsCommutator::RenderThread,
545 make_unique_dp<SelectObjectMessage>(
546 obj, pt, featureId, isAnim, isGeometrySelectionAllowed, isSelectionShapeVisible),
547 MessagePriority::Normal);
548}
549
550void DrapeEngine::DeselectObject(bool restoreViewport)
551{

Callers 2

ActivateMapSelectionMethod · 0.80
OnTapEventMethod · 0.80

Calls 1

PostMessageMethod · 0.45

Tested by

no test coverage detected