History

more overlay wip

SamGondelman committed 7 years ago

Commit 5ce8f561 parent ca8d64b62 files · +620 −864Browse files

Showing the changes to interface/src/InterfaceParentFinder.cpp (1 of 62 files). Show all

Unified · Split

interface/src/InterfaceParentFinder.cpp+0−9
@@ -50,15 +50,6 @@ SpatiallyNestableWeakPointer InterfaceParentFinder::find(QUuid parentID, bool& s · 49 unmodified lines
50 return avatarManager->getMyAvatar();50 return avatarManager->getMyAvatar();
51 }51 }
52 52
53 // search overlays
54 auto& overlays = qApp->getOverlays();
55 auto overlay = overlays.getOverlay(parentID);
56 parent = std::dynamic_pointer_cast<SpatiallyNestable>(overlay); // this will return nullptr for non-3d overlays
57 if (!parent.expired()) {
58 success = true;
59 return parent;
60 }
61
62 success = false;53 success = false;
63 return parent;54 return parent;
64}55}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t