History

Fixed pick and ray pick scripting interface

ksuprynowicz committed 3 years ago

Commit 4d030331 parent ab9f2a76 files · +78 −76Browse files

Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

interface/src/raypick/PickScriptingInterface.cpp+1−1
@@ -89,7 +89,7 @@ unsigned int PickScriptingInterface::createPick(const PickQuery::PickType type, · 88 unmodified lines
8989
9090 PickFilter getPickFilter(unsigned int filter) {
9191 // FIXME: Picks always intersect visible and collidable things right now
92− filter = filter | (PickScriptingInterface::PICK_INCLUDE_VISIBLE() | PickScriptingInterface::PICK_INCLUDE_COLLIDABLE());
92+ filter = filter | (PickScriptingInterface::getPickIncludeVisible() | PickScriptingInterface::getPickIncludeCollidable());
9393 return PickFilter(filter);
9494 }
9595

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