mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:47:11 +02:00
Comment change
This commit is contained in:
parent
7f0915f6ab
commit
f5e2e4f3d8
1 changed files with 3 additions and 3 deletions
|
@ -221,13 +221,13 @@ bool ContextOverlayInterface::destroyContextOverlay(const EntityItemID& entityIt
|
||||||
void ContextOverlayInterface::contextOverlays_mousePressOnOverlay(const OverlayID& overlayID, const PointerEvent& event) {
|
void ContextOverlayInterface::contextOverlays_mousePressOnOverlay(const OverlayID& overlayID, const PointerEvent& event) {
|
||||||
if (overlayID == _contextOverlayID && event.getButton() == PointerEvent::PrimaryButton) {
|
if (overlayID == _contextOverlayID && event.getButton() == PointerEvent::PrimaryButton) {
|
||||||
qCDebug(context_overlay) << "Clicked Context Overlay. Entity ID:" << _currentEntityWithContextOverlay << "Overlay ID:" << overlayID;
|
qCDebug(context_overlay) << "Clicked Context Overlay. Entity ID:" << _currentEntityWithContextOverlay << "Overlay ID:" << overlayID;
|
||||||
emit contextOverlayClicked(_currentEntityWithContextOverlay);
|
|
||||||
Setting::Handle<bool> _settingSwitch{ "commerce", true };
|
Setting::Handle<bool> _settingSwitch{ "commerce", true };
|
||||||
if (_settingSwitch.get()) {
|
if (_settingSwitch.get()) {
|
||||||
openInspectionCertificate();
|
openInspectionCertificate();
|
||||||
} else {
|
} else {
|
||||||
openMarketplace();
|
openMarketplace();
|
||||||
}
|
}
|
||||||
|
emit contextOverlayClicked(_currentEntityWithContextOverlay);
|
||||||
_contextOverlayJustClicked = true;
|
_contextOverlayJustClicked = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue