From 845ffa489ecc35397d4dee917d0de4e9ea0dd4c0 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Mon, 29 Jul 2024 11:25:14 -0700 Subject: [PATCH] View3D: minor optimization to use _scene instead of scene getter (closes #60) --- away3d/containers/View3D.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/away3d/containers/View3D.hx b/away3d/containers/View3D.hx index 83936ad7..6d0c5854 100644 --- a/away3d/containers/View3D.hx +++ b/away3d/containers/View3D.hx @@ -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; } /*