Refactored the ::getOrCreate*Object() methods to clean them up and fix a bug in the getOrCreateElementsBuffers method.
Refactored the ::getOrCreate*Object() methods to clean them up and fix a bug in the getOrCreateElementsBuffers method.


stmh/osg,ntoand/osg,XiaoCC/osg,stmh/osg,artoolkit/osg,omega-hub/osg,koshman86/osg,ghub/osg,XiaoCC/osg,ntoand/osg,koshman86/osg,stmh/osg,ntoand/osg,artoolkit/osg,ghub/osg,ntoand/osg,stmh/osg,artoolkit/osg,omega-hub/osg,ghub/osg,ghub/osg,XiaoCC/osg,omega-hub/osg,artoolkit/osg,stmh/osg,koshman86/osg,omega-hub/osg,XiaoCC/osg,XiaoCC/osg,koshman86/osg