Fixed bug when changing stereo base after setting view mode 57/26857/1
authorFerran Sole <ferran.sole@samsung.com>
Fri, 29 Aug 2014 11:44:11 +0000 (12:44 +0100)
committerFerran Sole <ferran.sole@samsung.com>
Fri, 29 Aug 2014 11:50:45 +0000 (12:50 +0100)
commit4e17d9126722ebc1bf065a712c10b60adf1f8e5b
tree1312a3fe039b8490799e037949a6f2c461e8fd8e
parentc2b1255066a7663dbc79c067c39ea2b02a02fd99
Fixed bug when changing stereo base after setting view mode

[Problem] When setting new stereo base using SetStereoBase() function, camera position was incorrect
[Cause] SetPerspectiveProjection() function modifies the z coordinate of the camera
[Solution] Set the correct position, not only x coordinate, after calling SetPerspectiveProjection() on each camera

Change-Id: Ibbd21dd285c5b0fd38873d5bd1c3a194a8008fb2
dali/internal/event/common/stage-impl.cpp