added sub-scene
merge add fix build for MacOS
Merge pull request #49 from slima4/master

merge and fixed build for MacOS