5.14 to 5.15 camera.clone does not clone camera.mode

Hi, after upgrading to Babylon 5.15 from 5.14, camera.clone() would not clone the camera.mode property.

Here is the PG

Check the inspector to view the camera properties.

Thanks

@carolhmj - could that be related to your latest PR?

1 Like

Huh, strange but might be, I’ll investigate :open_mouth:

2 Likes

Yep it was me, sorry for that :pray: Fix is here: Fix camera cloning of ortho params by carolhmj · Pull Request #12753 · BabylonJS/Babylon.js (github.com)

2 Likes