Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions embodichain/lab/sim/shapes.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def from_dict(cls, init_dict: Dict[str, Any]) -> ShapeCfg:
if hasattr(cfg, key):
attr = getattr(cfg, key)
if key == "visual_material" and isinstance(value, dict):
from embodichain.lab.sim.material import VisualMaterialCfg

setattr(
cfg,
key,
Expand Down
Loading