A possible bug in the default render script

A few months ago the default render script was modified to use camera components by default. And the property camera.frustum was renamed to camera.options. But in the GUI section of update() this property is still referenced as camera_gui.frustum. I think this should be changed to camera_gui.options.
I don’t know if this actually matters. Or maybe I don’t understand it right. It’s just something I have stumbled upon.

2 Likes

You are right! There is no frustum on the ´camera_gui` table. It should be

render.draw(predicates.gui, camera_gui.options)

PR: The default render script was not using an option table when drawing the gui by britzl · Pull Request #10222 · defold/defold · GitHub