mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
fixes
This commit is contained in:
parent
6edfbdd66c
commit
cb744707bd
@ -477,7 +477,7 @@ void QgsEsriI3STiledSceneIndex::parseMesh( QgsTiledSceneTile &t, const json &mes
|
||||
if ( mRootUrl.isLocalFile() )
|
||||
geometryUri = QStringLiteral( "%1/nodes/%2/geometries/1.bin.gz" ).arg( mRootUrl.toString() ).arg( geometryResource );
|
||||
else
|
||||
geometryUri = QStringLiteral( "%1/layers/0/nodes/%1/geometries/1" ).arg( mRootUrl.toString() ).arg( geometryResource );
|
||||
geometryUri = QStringLiteral( "%1/layers/0/nodes/%2/geometries/1" ).arg( mRootUrl.toString() ).arg( geometryResource );
|
||||
|
||||
// parse material and related textures
|
||||
const json materialJson = meshJson["material"];
|
||||
|
@ -608,6 +608,7 @@ class TestQgsEsriI3sLayer(unittest.TestCase):
|
||||
'contentFormat': 'draco',
|
||||
'gltfUpAxis': int(Qgis.Axis.Z),
|
||||
'material': {
|
||||
'doubleSided': True,
|
||||
'pbrBaseColorFactor': [1.0, 1.0, 1.0, 1.0],
|
||||
'pbrBaseColorTexture': 'file://' + temp_dir + '/nodes/16/textures/0.jpg'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user