Skip to content

Commit 372ef70

Browse files
committed
Use new class constructor for scale xform
1 parent 249a21d commit 372ef70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
requirements = [
1313
# Until COMPAS reaches 1.0, we pin major.minor and allow patch version updates
14-
'compas>=0.11,<0.14',
14+
'compas>=0.11,<0.17',
1515
'roslibpy>=0.7.1',
1616
'pyserial',
1717
]

src/compas_fab/robots/planning_scene.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def scale(self, scale_factor):
5050
scale_factor : :obj:`float`
5151
Scale factor.
5252
"""
53-
S = Scale([scale_factor] * 3)
53+
S = Scale.from_factors([scale_factor] * 3)
5454
self.mesh.transform(S)
5555

5656

0 commit comments

Comments
 (0)