Fix compatibility with open scene graph 3.2.0

The colors are not very nice but this works
Fix backward compatibility
Now the colors are nice
Merge branch 'patch-1' of https://github.com/impact27/robogen into impact27-patch-1
cleaned up formatting of Mesh.cpp from @impact27