godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.44k stars 1.52k forks source link

Fixed minor Godot 3 bit in "gui_in_3d" demo's billboard specific code #1052

Closed Tarik-B closed 2 months ago

Tarik-B commented 2 months ago

But I guess nobody needed any convincing since that change has already been made at line 20: if node_quad.get_surface_override_material(0).billboard_mode == BaseMaterial3D.BillboardMode.BILLBOARD_DISABLED:

Tarik-B commented 2 months ago

Thanks, good catch! Didn't test but I assume this works.

Well I did test it since, as you can imagine, I stumbled upon it while trying the demo.