mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:27:48 +02:00
changing highlighting percentage
This commit is contained in:
parent
7243160dac
commit
43b92299d6
2 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
/* global MyAvatar, Entities, Script, Camera, Vec3, Reticle, Overlays, getEntityCustomData, Messages, Quat, Controller,
|
/* global MyAvatar, Entities, Script, Camera, Vec3, Reticle, Overlays, getEntityCustomData, Messages, Quat, Controller,
|
||||||
isInEditMode, HMD entityIsGrabbable, Picks, PickType, Pointers*/
|
isInEditMode, HMD entityIsGrabbable, Picks, PickType, Pointers, unhighlightTargetEntity*/
|
||||||
|
|
||||||
|
|
||||||
(function() { // BEGIN LOCAL_SCOPE
|
(function() { // BEGIN LOCAL_SCOPE
|
||||||
|
@ -354,6 +354,7 @@ Grabber.prototype.pressEvent = function(event) {
|
||||||
|
|
||||||
Pointers.setRenderState(this.mouseRayEntities, "grabbed");
|
Pointers.setRenderState(this.mouseRayEntities, "grabbed");
|
||||||
Pointers.setLockEndUUID(this.mouseRayEntities, pickResults.objectID, false);
|
Pointers.setLockEndUUID(this.mouseRayEntities, pickResults.objectID, false);
|
||||||
|
unhighlightTargetEntity(pickResults.objectID);
|
||||||
|
|
||||||
mouse.startDrag(event);
|
mouse.startDrag(event);
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ DISPATCHER_HOVERING_STYLE = {
|
||||||
outlineOccludedColor: {red: 255, green: 128, blue: 128},
|
outlineOccludedColor: {red: 255, green: 128, blue: 128},
|
||||||
outlineOccludedAlpha:0.0,
|
outlineOccludedAlpha:0.0,
|
||||||
fillUnoccludedColor: {red: 255, green: 255, blue: 255},
|
fillUnoccludedColor: {red: 255, green: 255, blue: 255},
|
||||||
fillUnoccludedAlpha: 0.15,
|
fillUnoccludedAlpha: 0.12,
|
||||||
fillOccludedColor: {red: 255, green: 255, blue: 255},
|
fillOccludedColor: {red: 255, green: 255, blue: 255},
|
||||||
fillOccludedAlpha: 0.0
|
fillOccludedAlpha: 0.0
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue