view
Tweet
hifi: #21672 Fix Windows.browseAssets() bugs

1)
Default location in drop-down is a file path, e.g., "D:/", if no directory is specified or "" is specified.
For example:
var asset = Window.browseAssets("Select FBX File", "", "*.fbx");

2)
Multiple file type filter doesn't work.
For example:
var asset = Window.browseAssets("Select Image File", "/", "Images (*.png *.jpg *.svg)");

3)
No items are displayed if the filetype isn't specified. (Function signature has the filetype as an optional parameter.)
For example:
var asset = Window.browseAssets("Select something");

Comments & Activity

Labels Saved!

Bids

Login to bid
Who Amount Done in ...
No bids yet.