Skip to content

Commit

Permalink
Merge pull request StanfordVL#645 from StanfordVL/dont-shift-togglebu…
Browse files Browse the repository at this point in the history
…tton

Don't mess up toggle button offsets
  • Loading branch information
ChengshuLi authored Mar 12, 2024
2 parents a816221 + 747daa6 commit 317b4e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions omnigibson/object_states/toggle.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ def _initialize(self):
self.visual_marker.initialize()
self.visual_marker.visible = True

# Make sure the marker isn't translated at all
self.visual_marker.set_local_pose(position=np.zeros(3), orientation=np.array([0, 0, 0, 1.0]))

# Store the projection mesh's IDs
projection_mesh_ids = lazy.pxr.PhysicsSchemaTools.encodeSdfPath(self.visual_marker.prim_path)

Expand Down

0 comments on commit 317b4e9

Please sign in to comment.