History

Removing access to the gl widget and display managers

Brad Davis committed 11 years ago

Commit 302aa9d1 parent 539063035 files · +401 −440Browse files

Showing the changes to interface/src/ui/NodeBounds.cpp (1 of 35 files). Show all

Unified · Split

interface/src/ui/NodeBounds.cpp+1−3
@@ -38,9 +38,7 @@ void NodeBounds::draw() { · 37 unmodified lines
3838
3939 // Compute ray to find selected nodes later on. We can't use the pre-computed ray in Application because it centers
4040 // itself after the cursor disappears.
41− Application* application = Application::getInstance();
42− PickRay pickRay = application->getCamera()->computePickRay(application->getTrueMouseX(),
43− application->getTrueMouseY());
41+ PickRay pickRay = qApp->computePickRay();
4442
4543 // Variables to keep track of the selected node and properties to draw the cube later if needed
4644 Node* selectedNode = NULL;

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