History

more Application and Menu dependency removal

ZappoMan committed 11 years ago

Commit a465aa21 parent 5d636e28 files · +29 −49Browse files

Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 8 files). Show all

Unified · Split

libraries/entities/src/EntityScriptingInterface.cpp+3−7
@@ -11,6 +11,7 @@ · 10 unmodified lines
11 11
12#include "EntityScriptingInterface.h"12#include "EntityScriptingInterface.h"
13#include "EntityTree.h"13#include "EntityTree.h"
14#include "LightEntityItem.h"
14#include "ModelEntityItem.h"15#include "ModelEntityItem.h"
15 16
16EntityScriptingInterface::EntityScriptingInterface() :17EntityScriptingInterface::EntityScriptingInterface() :
@@ -226,16 +227,11 @@ RayToEntityIntersectionResult EntityScriptingInterface::findRayIntersectionWorke · 209 unmodified lines
226}227}
227 228
228void EntityScriptingInterface::setLightsArePickable(bool value) {229void EntityScriptingInterface::setLightsArePickable(bool value) {
229 if (_entityTree) {230 LightEntityItem::setLightsArePickable(value);
230 _entityTree->setLightsArePickable(value);
231 }
232}231}
233 232
234bool EntityScriptingInterface::getLightsArePickable() const {233bool EntityScriptingInterface::getLightsArePickable() const {
235 if (_entityTree) {234 return LightEntityItem::getLightsArePickable();
236 return _entityTree->getLightsArePickable();
237 }
238 return false;
239}235}
240 236
241 237

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