mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 20:53:33 +02:00
slight DRY
This commit is contained in:
parent
31ae7ceaff
commit
b228da34a5
1 changed files with 1 additions and 2 deletions
|
@ -161,8 +161,7 @@ function controller(wichSide) {
|
|||
|
||||
this.checkModel = function (properties) {
|
||||
// special case to lock the ground plane model in hq.
|
||||
if (location.hostname == "hq.highfidelity.io" &&
|
||||
properties.modelURL == "https://s3-us-west-1.amazonaws.com/highfidelity-public/ozan/Terrain_Reduce_forAlpha.fbx") {
|
||||
if (this.isLocked(properties)) {
|
||||
return { valid: false };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue