Skip to content

Commit

Permalink
--Update to match Habitat-Sim refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
jturner65 committed Sep 20, 2021
1 parent 598f648 commit 2e5ac6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion habitat/tasks/rearrange/obj_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def add_obj(name, sim):
template_handle = obj_mgr.get_template_handles("cube")[0]
template = obj_mgr.get_template_by_handle(template_handle)
template.scale = mn.Vector3(size_x, size_y, size_z)
template.requires_lighting = True
template.force_flat_shading = False
new_template_handle = obj_mgr.register_template(template, "box_new")
obj_id = sim.add_object(new_template_handle)
sim.set_object_motion_type(MotionType.DYNAMIC, obj_id)
Expand Down

0 comments on commit 2e5ac6a

Please sign in to comment.