Skip to content

Commit 2c79dae

Browse files
committed
Fix trailing useless doc in gltf importer
1 parent 35ac10e commit 2c79dae

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Extend/DataExchange.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -710,13 +710,9 @@ def read_gltf_file(
710710
if not os.path.isfile(filename):
711711
raise FileNotFoundError(f"{filename} not found.")
712712

713-
# Get root assembly
714-
shape_tool = XCAFDoc_DocumentTool.ShapeTool(doc.Main())
715-
716713
gltf_reader = RWGltf_CafReader()
717714
# gltf_reader.SetSystemLengthUnit (aScaleFactorM);
718715
gltf_reader.SetSystemCoordinateSystem(RWMesh_CoordinateSystem_posYfwd_posZup)
719-
gltf_reader.SetDocument(doc)
720716
gltf_reader.SetParallel(is_parallel)
721717
gltf_reader.SetDoublePrecision(is_double_precision)
722718
gltf_reader.SetToSkipLateDataLoading(skip_late_data_loading)

0 commit comments

Comments
 (0)