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
1111
1212 #include "EntityScriptingInterface.h"
1313 #include "EntityTree.h"
14+#include "LightEntityItem.h"
1415 #include "ModelEntityItem.h"
1516
1617 EntityScriptingInterface::EntityScriptingInterface() :
@@ -226,16 +227,11 @@ RayToEntityIntersectionResult EntityScriptingInterface::findRayIntersectionWorke · 209 unmodified lines
226227 }
227228
228229 void EntityScriptingInterface::setLightsArePickable(bool value) {
229− if (_entityTree) {
230− _entityTree->setLightsArePickable(value);
231− }
230+ LightEntityItem::setLightsArePickable(value);
232231 }
233232
234233 bool EntityScriptingInterface::getLightsArePickable() const {
235− if (_entityTree) {
236− return _entityTree->getLightsArePickable();
237− }
238− return false;
234+ return LightEntityItem::getLightsArePickable();
239235 }
240236
241237

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