Fix for equip-hotspot being visible for whiteboard markers

This commit is contained in:
Anthony J. Thibault 2016-06-21 11:59:11 -07:00
parent 2ed88bca6d
commit 972c292857

View file

@ -879,11 +879,7 @@ function MyController(hand) {
var entities = Entities.findEntities(MyAvatar.position, HOTSPOT_DRAW_DISTANCE);
var i, l = entities.length;
for (i = 0; i < l; i++) {
// is this entity equipable?
var grabData = getEntityCustomData(GRABBABLE_DATA_KEY, entities[i], undefined);
var grabProps = Entities.getEntityProperties(entities[i], GRABBABLE_PROPERTIES);
if (grabData) {
// does this entity have an attach point?
var wearableData = getEntityCustomData("wearable", entities[i], undefined);
if (wearableData && wearableData.joints) {
@ -903,7 +899,6 @@ function MyController(hand) {
}
}
}
}
};
this.searchExit = function() {