mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 12:14:12 +02:00
Couple tweaks
This commit is contained in:
parent
963be820d0
commit
fdfdba5d2d
1 changed files with 4 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
||||||
lightDefaultProperties: {
|
lightDefaultProperties: {
|
||||||
type: "Light",
|
type: "Light",
|
||||||
position: { x: 0, y: 0, z: 0 },
|
position: { x: 0, y: 0, z: 0 },
|
||||||
dimensions: { x: 2, y: 2, z: 2 },
|
dimensions: { x: 5, y: 5, z: 5 },
|
||||||
isSpotlight: false,
|
isSpotlight: false,
|
||||||
color: { red: 255, green: 48, blue: 0 },
|
color: { red: 255, green: 48, blue: 0 },
|
||||||
diffuseColor: { red: 255, green: 255, blue: 255 },
|
diffuseColor: { red: 255, green: 255, blue: 255 },
|
||||||
|
@ -172,6 +172,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
this.clickReleaseOnEntity = function(entityID, mouseEvent) {
|
this.clickReleaseOnEntity = function(entityID, mouseEvent) {
|
||||||
|
this.entityID = entityID;
|
||||||
|
this.maybeDownloadSound();
|
||||||
|
|
||||||
if (mouseEvent.isLeftButton) {
|
if (mouseEvent.isLeftButton) {
|
||||||
this.updateLightID();
|
this.updateLightID();
|
||||||
this.maybeMoveLight();
|
this.maybeMoveLight();
|
||||||
|
|
Loading…
Reference in a new issue