[ui] Viewer3D: multi 3D media support

* use new media loading backend through MediaLibrary
* Inspector3D: new overlay UI that displays and allows to manipulate MediaLibrary content
This commit is contained in:
Yann Lanthony 2018-11-23 22:20:29 +01:00
parent e35076ef97
commit 97fcdf67bf
6 changed files with 380 additions and 401 deletions

View file

@ -0,0 +1,9 @@
.pragma library
function intToString(v) {
// use EN locale to get comma separated thousands
// + remove automatically added trailing decimals
// (this 'toLocaleString' does not take any option)
return v.toLocaleString(Qt.locale('en-US')).split('.')[0]
}