From 86e50ca8ed4770e4b3897ae4aac26310b188a539 Mon Sep 17 00:00:00 2001 From: Zeyu Ma Date: Wed, 14 Aug 2024 15:00:21 -0400 Subject: [PATCH] bugfix_arctic_fineterrain --- docs/CHANGELOG.md | 3 +++ infinigen/__init__.py | 2 +- infinigen/core/execute_tasks.py | 10 +++++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 86916b2f..779fcd54 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -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 diff --git a/infinigen/__init__.py b/infinigen/__init__.py index 4d2880a3..ba7bb0af 100644 --- a/infinigen/__init__.py +++ b/infinigen/__init__.py @@ -6,7 +6,7 @@ import logging from pathlib import Path -__version__ = "1.7.0" +__version__ = "1.7.1" def repo_root(): diff --git a/infinigen/core/execute_tasks.py b/infinigen/core/execute_tasks.py index f985e76c..b34f33f0 100644 --- a/infinigen/core/execute_tasks.py +++ b/infinigen/core/execute_tasks.py @@ -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: @@ -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, )