mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-22 16:53:42 +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: {
|
||||
type: "Light",
|
||||
position: { x: 0, y: 0, z: 0 },
|
||||
dimensions: { x: 2, y: 2, z: 2 },
|
||||
dimensions: { x: 5, y: 5, z: 5 },
|
||||
isSpotlight: false,
|
||||
color: { red: 255, green: 48, blue: 0 },
|
||||
diffuseColor: { red: 255, green: 255, blue: 255 },
|
||||
|
@ -172,6 +172,9 @@
|
|||
};
|
||||
|
||||
this.clickReleaseOnEntity = function(entityID, mouseEvent) {
|
||||
this.entityID = entityID;
|
||||
this.maybeDownloadSound();
|
||||
|
||||
if (mouseEvent.isLeftButton) {
|
||||
this.updateLightID();
|
||||
this.maybeMoveLight();
|
||||
|
|
Loading…
Reference in a new issue