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
5050 return avatarManager->getMyAvatar();
5151 }
5252
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−
6253 success = false;
6354 return parent;
6455 }

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