Skip to content

Commit

Permalink
remove extra code;
Browse files Browse the repository at this point in the history
  • Loading branch information
e2002e committed Jan 13, 2024
1 parent e769cd7 commit 20db017
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/iron/Scene.hx
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,6 @@ class Scene {
#end
for (anim in animations) anim.update(Time.delta);
for (e in empties) if (e != null && e.parent != null) e.transform.update();

#if (rp_voxels != "Off")
armory.renderpath.RenderPathCreator.clipmapLevel = (armory.renderpath.RenderPathCreator.clipmapLevel + 1) % Main.voxelgiClipmapCount;
#end
}

public function renderFrame(g: kha.graphics4.Graphics) {
Expand All @@ -260,7 +256,6 @@ class Scene {
}
camera = activeCamera;
#end

// Render active camera
camera != null ? camera.renderFrame(g) : RenderPath.active.renderFrame(g);
}
Expand Down

0 comments on commit 20db017

Please sign in to comment.