{"action":"created","issue":{"url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1832","repository_url":"https://api.github.com/repos/gameplay3d/GamePlay","labels_url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1832/labels{/name}","comments_url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1832/comments","events_url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1832/events","html_url":"https://github.com/gameplay3d/GamePlay/issues/1832","id":154226724,"number":1832,"title":"Unable to load and add new gpb into a scene ? ","user":{"login":"deep4U","id":10280471,"avatar_url":"https://avatars.githubusercontent.com/u/10280471?v=3","gravatar_id":"","url":"https://api.github.com/users/deep4U","html_url":"https://github.com/deep4U","followers_url":"https://api.github.com/users/deep4U/followers","following_url":"https://api.github.com/users/deep4U/following{/other_user}","gists_url":"https://api.github.com/users/deep4U/gists{/gist_id}","starred_url":"https://api.github.com/users/deep4U/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deep4U/subscriptions","organizations_url":"https://api.github.com/users/deep4U/orgs","repos_url":"https://api.github.com/users/deep4U/repos","events_url":"https://api.github.com/users/deep4U/events{/privacy}","received_events_url":"https://api.github.com/users/deep4U/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-11T12:02:57Z","updated_at":"2016-05-12T07:42:04Z","closed_at":null,"body":"After converting my fbx 3d model to gpb using the gameplay-encoder I wanted to add this gpb in a scene through code. But to my surprise we can only load it as another scene and can not add this object to current scene. Let me know if there is a way though. Tried reading the api and classes but unable to find a way to do this.\r\nwhat I need to do ultimately is export a object from blender / maya with materials and textures(as fbx than encode to gpb) and add into scene of my game code as a new node added to the scene.\r\nNote: the scene itself is from another gpb.(I am using sample.gpb from browser code as scene and want to add new node and load mesh and material from another gpb into that node)."},"comment":{"url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/comments/218683258","html_url":"https://github.com/gameplay3d/GamePlay/issues/1832#issuecomment-218683258","issue_url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1832","id":218683258,"user":{"login":"deep4U","id":10280471,"avatar_url":"https://avatars.githubusercontent.com/u/10280471?v=3","gravatar_id":"","url":"https://api.github.com/users/deep4U","html_url":"https://github.com/deep4U","followers_url":"https://api.github.com/users/deep4U/followers","following_url":"https://api.github.com/users/deep4U/following{/other_user}","gists_url":"https://api.github.com/users/deep4U/gists{/gist_id}","starred_url":"https://api.github.com/users/deep4U/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deep4U/subscriptions","organizations_url":"https://api.github.com/users/deep4U/orgs","repos_url":"https://api.github.com/users/deep4U/repos","events_url":"https://api.github.com/users/deep4U/events{/privacy}","received_events_url":"https://api.github.com/users/deep4U/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T07:42:04Z","updated_at":"2016-05-12T07:42:04Z","body":"update tried adding this too\r\nnode->setEnabled(true);\r\nnode1->setEnabled(true);\r\nmodel->draw(false);\r\nstill does not work \r\nshall I attach fbx and gpb files or still problem is in the way I am loading it in code?"}}