  }
  
  unsigned int RenderScene::bindAttribute(const Attribute* pAttr)
-@@ -1543,4 +1546,4 @@
+@@ -844,11 +847,6 @@
+ 
+ int RenderScene::initRender(glTFHandle* handle)
+ {
+-    pScene = new Scene();
+-    if(0 == pScene)
+-    {
+-        return LIBGLTF_MEMORY_ERROR;
+-    }
+     int iResult = loadScene(*pScene, handle);
+     if( iResult != LIBGLTF_SUCESS)
+     {
+@@ -1543,4 +1541,4 @@
  int  RenderScene::isAnimPlay()
  {
      return this->mAnimationPlay ? 1 : 0;

diff -ur libgltf.org/src/LoadScene.cpp libgltf/src/LoadScene.cpp
--- libgltf.org/src/LoadScene.cpp	2014-06-12 12:11:58.945707220 +0200
+++ libgltf/src/LoadScene.cpp	2014-06-12 12:13:14.129704086 +0200
@@ -148,10 +148,14 @@
     return true;
 }

\ No newline at end of file
+#endif
diff -ur libgltf.org/src/RenderScene.cpp libgltf/src/RenderScene.cpp
--- libgltf.org/src/RenderScene.cpp	2014-06-13 01:13:40.654653289 +0200
+++ libgltf/src/RenderScene.cpp	2014-06-13 01:15:11.222649451 +0200
@@ -561,7 +561,7 @@
     {
         return LIBGLTF_PARSE_JSON_ERROR;
