Skip to content

Commit

Permalink
Merge pull request #242 from princeton-vl/bugfix_arctic_fineterrain
Browse files Browse the repository at this point in the history
v1.7.1 bugfix arcticfineterrain
  • Loading branch information
araistrick authored Aug 15, 2024
2 parents 17ab1fb + 86e50ca commit 0b85ca1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,6 @@ v1.6.0
v1.7.0
- Implement camera IMU calculation and export
- Add point tracking ground truth

v1.7.1
- Bugfix fine terrain in arctic scenes
2 changes: 1 addition & 1 deletion infinigen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import logging
from pathlib import Path

__version__ = "1.7.0"
__version__ = "1.7.1"


def repo_root():
Expand Down
10 changes: 5 additions & 5 deletions infinigen/core/execute_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def execute_tasks(
if Task.Populate in task and populate_scene_func is not None:
populate_scene_func(output_folder, scene_seed)

need_terrain_processing = "OpaqueTerrain" in bpy.data.objects
need_terrain_processing = "atmosphere" in bpy.data.objects

if Task.FineTerrain in task and need_terrain_processing:
with open(output_folder / "assets" / "info.pickle", "rb") as f:
Expand Down Expand Up @@ -332,10 +332,10 @@ def execute_tasks(

if Task.MeshSave in task:
save_meshes(
scene_seed,
output_folder=output_folder,
frame_range=frame_range,
point_trajectory_src_frame=point_trajectory_src_frame,
scene_seed,
output_folder=output_folder,
frame_range=frame_range,
point_trajectory_src_frame=point_trajectory_src_frame,
)


Expand Down

0 comments on commit 0b85ca1

Please sign in to comment.