Skip to content

Commit

Permalink
Remove liquid/liquid_fine for global_flat_shading
Browse files Browse the repository at this point in the history
  • Loading branch information
hdoi5324 committed Dec 5, 2024
1 parent 6ca2528 commit 10f3fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infinigen/core/rendering/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def global_flat_shading():
for obj in bpy.context.scene.view_layers["ViewLayer"].objects:
if "fire_system_type" in obj and obj["fire_system_type"] == "volume":
continue
if obj.name.lower() in {"atmosphere", "atmosphere_fine"}:
if obj.name.lower() in {"atmosphere", "atmosphere_fine", "liquid", "liquid_fine"}:
bpy.data.objects.remove(obj)
elif obj.active_material is not None:
nw = obj.active_material.node_tree
Expand Down

0 comments on commit 10f3fb0

Please sign in to comment.