--camera-index
should override other camera options
#1638
Labels
good first issue
Good for newcomers
hacktoberfest
help wanted
Please help with this issue!
source:F3DApplication
type:bug
Something isn't working
Describe the bug
F3D has many camera option but there is one that rely on camera provided by the file, however it should override other camera options but it does not
To Reproduce
Steps to reproduce the behavior:
f3d --dry-run Cameras.gltf --camera-index=0 --camera-position=0,0,0
Expected behavior
Camera positioned as if camera-position was not provided
Additional context
In F3DStarter.cxx:1075, SetupCamera is always called. It should only be called if camera-index has no value, as its an std::optional
Also a test should be added.
The text was updated successfully, but these errors were encountered: