[Viewer3D] Clean-up: Harmonize syntax across all the files

This commit is contained in:
Candice Bentéjac 2023-10-17 11:25:37 +02:00
parent 9249615baf
commit 9d2974d282
18 changed files with 307 additions and 321 deletions

View file

@ -14,14 +14,14 @@ Item {
// supported 3D files extensions
readonly property var supportedExtensions: {
var exts = ['.obj', '.stl', '.fbx', '.gltf'];
if(supportSfmData)
{
exts.push('.abc');
exts.push('.json');
exts.push('.sfm');
if (supportSfmData) {
exts.push('.abc')
exts.push('.json')
exts.push('.sfm')
}
if(supportDepthMap)
exts.push('.exr');
if (supportDepthMap)
exts.push('.exr')
return exts;
}