Skip to content

Commit

Permalink
View3D: minor optimization to use _scene instead of scene getter (closes
Browse files Browse the repository at this point in the history
 #60)
  • Loading branch information
joshtynjala committed Jul 29, 2024
1 parent cc5973a commit 845ffa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion away3d/containers/View3D.hx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class View3D extends Sprite
private function onScenePartitionChanged(event:Event):Void
{
if (_camera!=null)
_camera.partition = scene.partition;
_camera.partition = _scene.partition;
}

/*
Expand Down

0 comments on commit 845ffa4

Please sign in to comment.