Improve thread-safety when accessing the main camera rig in GVRScene
Remove the detachAllComponents for all children when removeAllSceneObjects is called; it is a problem if you intend to add some of the removed children again - the scene objects would be broken due to the missing components
Some thread-safety improvements in GVRGearCursorController whenever the scene changes
Ultimately the major problem was the detachAllComponents in removeAllSceneObjects. Has been verified as fixing #1962.
Fixes issue #1962
Ultimately the major problem was the detachAllComponents in removeAllSceneObjects. Has been verified as fixing #1962.
GearVRf-DCO-1.0-Signed-off-by: Mihail Marinov m.marinov@samsung.com