{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/OpenCOLLADA/issues/52","repository_url":"https://api.github.com/repos/KhronosGroup/OpenCOLLADA","labels_url":"https://api.github.com/repos/KhronosGroup/OpenCOLLADA/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/OpenCOLLADA/issues/52/comments","events_url":"https://api.github.com/repos/KhronosGroup/OpenCOLLADA/issues/52/events","html_url":"https://github.com/KhronosGroup/OpenCOLLADA/issues/52","id":5577421,"number":52,"title":"Patch / crash when exporting morphs in 3ds max","user":{"login":"Khronoswebmaster","id":1608698,"avatar_url":"https://avatars.githubusercontent.com/u/1608698?v=3","gravatar_id":"","url":"https://api.github.com/users/Khronoswebmaster","html_url":"https://github.com/Khronoswebmaster","followers_url":"https://api.github.com/users/Khronoswebmaster/followers","following_url":"https://api.github.com/users/Khronoswebmaster/following{/other_user}","gists_url":"https://api.github.com/users/Khronoswebmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/Khronoswebmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khronoswebmaster/subscriptions","organizations_url":"https://api.github.com/users/Khronoswebmaster/orgs","repos_url":"https://api.github.com/users/Khronoswebmaster/repos","events_url":"https://api.github.com/users/Khronoswebmaster/events{/privacy}","received_events_url":"https://api.github.com/users/Khronoswebmaster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2012-07-12T17:37:16Z","updated_at":"2016-03-03T03:49:53Z","closed_at":"2016-03-03T03:49:53Z","body":"<b>What steps will reproduce the problem?</b>\n1. Create an object with a morph controller. Important: The morph targets should not be nodes in the scenes which the morph controller references. Instead the morph controller should &quot;own&quot; the morph targets. \n2. Try to export the model in 3ds max 2010.\n\n<b>What is the expected output? What do you see instead?</b>\n\nExpected: Model is exported properly.\nActual: 3ds max crashes hard. This is because an assert is triggered at\n\nColladaMaxControllerExporter.cpp:123\nassert( geometryExportNode );\n\nAttached is a patch which solves the problem for me. I am not sure if this is the real fix or whether the real fix should be done somewhere else.\n\nPatch discussion (2 small changes):\n\nChange 1: The initial pose is not in the list of exported objects. Thus the assert in question fails. This should not happen. The patch adds code to check for this condition and inserts the initial pose into the list of exported objects if necessary.\n\nChange 2: A small fix to properly escape morph target ids.\n\nOn demand I can provide an example file reproducing the problem.\n<p>Migrated from http://code.google.com/p/opencollada/issues/detail?id=101</p>"},"comment":{"url":"https://api.github.com/repos/KhronosGroup/OpenCOLLADA/issues/comments/191567574","html_url":"https://github.com/KhronosGroup/OpenCOLLADA/issues/52#issuecomment-191567574","issue_url":"https://api.github.com/repos/KhronosGroup/OpenCOLLADA/issues/52","id":191567574,"user":{"login":"RemiArnaud","id":142521,"avatar_url":"https://avatars.githubusercontent.com/u/142521?v=3","gravatar_id":"","url":"https://api.github.com/users/RemiArnaud","html_url":"https://github.com/RemiArnaud","followers_url":"https://api.github.com/users/RemiArnaud/followers","following_url":"https://api.github.com/users/RemiArnaud/following{/other_user}","gists_url":"https://api.github.com/users/RemiArnaud/gists{/gist_id}","starred_url":"https://api.github.com/users/RemiArnaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemiArnaud/subscriptions","organizations_url":"https://api.github.com/users/RemiArnaud/orgs","repos_url":"https://api.github.com/users/RemiArnaud/repos","events_url":"https://api.github.com/users/RemiArnaud/events{/privacy}","received_events_url":"https://api.github.com/users/RemiArnaud/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T03:49:53Z","updated_at":"2016-03-03T03:49:53Z","body":"old request, closing as probably not relevant anymore.\r\nPlease re-open if you still want this."}}