Skip to content

Commit ce1f0eb

Browse files
committed
Restore animation test to prior to #96
1 parent e5bdaf5 commit ce1f0eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/meshcat/tests/test_drawing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ def runTest(self):
223223
with animation.at_frame(v, 30) as frame_vis:
224224
frame_vis.set_transform(tf.translation_matrix([2, 0, 0]).dot(tf.rotation_matrix(np.pi/2, [0, 0, 1])))
225225
with animation.at_frame(v, 0) as frame_vis:
226-
frame_vis["/Cameras/default"].set_transform(tf.translation_matrix([0, 0, -0.5]))
226+
frame_vis["/Cameras/default/rotated/<object>"].set_property("zoom", "number", 1)
227227
with animation.at_frame(v, 30) as frame_vis:
228-
frame_vis["/Cameras/default"].set_transform(tf.translation_matrix([0, 0, 0.5]))
228+
frame_vis["/Cameras/default/rotated/<object>"].set_property("zoom", "number", 0.5)
229229
v.set_animation(animation)
230230

231231

0 commit comments

Comments
 (0)