mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
allow adding entities with model urls that end in .obj
This commit is contained in:
parent
05e0fe3536
commit
72ebae72c0
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ var toolBar = (function () {
|
|||
} else if (browseModelsButtonDown) {
|
||||
var clickedOverlay = Overlays.getOverlayAtPoint({ x: event.x, y: event.y });
|
||||
if (browseModelsButton === toolBar.clicked(clickedOverlay)) {
|
||||
url = Window.s3Browse(".*(fbx|FBX)");
|
||||
url = Window.s3Browse(".*(fbx|FBX|obj|OBJ)");
|
||||
if (url !== null && url !== "") {
|
||||
addModel(url);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue