Skip to content

Commit 7a01a81

Browse files
PeterL-NVkellyguo11
authored andcommitted
Corrects materials and objects imports in check_terrain_importer.py (#3411)
# Description Update namespace for materials and objects in the terrain generator test. Fixes #3383 ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
1 parent fff9bbf commit 7a01a81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/isaaclab/test/terrains/check_terrain_importer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@
6767
import isaacsim.core.utils.prims as prim_utils
6868
import omni.kit
6969
import omni.kit.commands
70+
from isaacsim.core.api.materials import PhysicsMaterial
71+
from isaacsim.core.api.materials.preview_surface import PreviewSurface
72+
from isaacsim.core.api.objects import DynamicSphere
7073
from isaacsim.core.api.simulation_context import SimulationContext
7174
from isaacsim.core.cloner import GridCloner
72-
from isaacsim.core.materials import PhysicsMaterial, PreviewSurface
73-
from isaacsim.core.objects import DynamicSphere
7475
from isaacsim.core.prims import RigidPrim, SingleGeometryPrim, SingleRigidPrim
7576
from isaacsim.core.utils.extensions import enable_extension
7677
from isaacsim.core.utils.viewports import set_camera_view

0 commit comments

Comments
 (0)