mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 11:21:52 +02:00
[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:
parent
e35076ef97
commit
97fcdf67bf
6 changed files with 380 additions and 401 deletions
9
meshroom/ui/qml/Utils/format.js
Normal file
9
meshroom/ui/qml/Utils/format.js
Normal 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]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue