Skip to content

Commit 685a61e

Browse files
committed
Ruff checks over DataExchange
1 parent c4c04d2 commit 685a61e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/Extend/DataExchange.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ def _get_sub_shapes(lab, loc):
247247
# print(" all ass locs :", locs)
248248

249249
loc = TopLoc_Location()
250-
for l in locs:
251-
loc = loc.Multiplied(l)
250+
for location in locs:
251+
loc = loc.Multiplied(location)
252252

253253
c = Quantity_Color(0.5, 0.5, 0.5, Quantity_TOC_RGB) # default color
254254
color_set = False
@@ -708,13 +708,10 @@ def read_gltf_file(
708708
verbose: bool = False,
709709
load_all_scenes: bool = False,
710710
):
711-
shapes_to_return = []
712-
713711
if not os.path.isfile(filename):
714712
raise FileNotFoundError(f"{filename} not found.")
715713

716714
gltf_reader = RWGltf_CafReader()
717-
# gltf_reader.SetSystemLengthUnit (aScaleFactorM);
718715
gltf_reader.SetSystemCoordinateSystem(RWMesh_CoordinateSystem_posYfwd_posZup)
719716
gltf_reader.SetParallel(is_parallel)
720717
gltf_reader.SetDoublePrecision(is_double_precision)

0 commit comments

Comments
 (0)