Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
ydeltastar committed Nov 13, 2024
1 parent 18ffa3a commit 9b23212
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions addons/scene_texture/SceneRenderDefault.gd
Original file line number Diff line number Diff line change
@@ -17,10 +17,7 @@ func render(iterations: int):
func _render_subviewport(iterations:int = 1, disable_main = false):
RenderingServer.viewport_set_active(get_viewport_rid(), false)

var mesh_instances = _get_children_of_type(self, MeshInstance3D)

var scenario = RenderingServer.scenario_create()

var viewport = RenderingServer.viewport_create()
RenderingServer.viewport_set_update_mode(viewport, RenderingServer.VIEWPORT_UPDATE_ALWAYS)
RenderingServer.viewport_set_scenario(viewport, scenario)

0 comments on commit 9b23212

Please sign in to comment.