{"action":"closed","issue":{"url":"https://api.github.com/repos/igelbox/blender-xray/issues/76","repository_url":"https://api.github.com/repos/igelbox/blender-xray","labels_url":"https://api.github.com/repos/igelbox/blender-xray/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/igelbox/blender-xray/issues/76/comments","events_url":"https://api.github.com/repos/igelbox/blender-xray/issues/76/events","html_url":"https://github.com/igelbox/blender-xray/issues/76","id":153661012,"number":76,"title":"invalid euler order 'QUATERNION'","user":{"login":"PavelBlend","id":7983249,"avatar_url":"https://avatars.githubusercontent.com/u/7983249?v=3","gravatar_id":"","url":"https://api.github.com/users/PavelBlend","html_url":"https://github.com/PavelBlend","followers_url":"https://api.github.com/users/PavelBlend/followers","following_url":"https://api.github.com/users/PavelBlend/following{/other_user}","gists_url":"https://api.github.com/users/PavelBlend/gists{/gist_id}","starred_url":"https://api.github.com/users/PavelBlend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PavelBlend/subscriptions","organizations_url":"https://api.github.com/users/PavelBlend/orgs","repos_url":"https://api.github.com/users/PavelBlend/repos","events_url":"https://api.github.com/users/PavelBlend/events{/privacy}","received_events_url":"https://api.github.com/users/PavelBlend/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/igelbox/blender-xray/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-08T15:15:49Z","updated_at":"2016-05-09T21:20:26Z","closed_at":"2016-05-09T21:20:26Z","body":"При попытке экспортировать объект с анимациями плагин выдаёт ошибку:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Program Project\\Blender 2.77a\\2.77\\scripts\\addons\\io_scene_xray\\plugin.py\", line 198, in execute\r\n    export_file(context.scene.objects[self.object], self.filepath, cx)\r\n  File \"C:\\Program Project\\Blender 2.77a\\2.77\\scripts\\addons\\io_scene_xray\\fmt_object_exp.py\", line 359, in export_file\r\n    _export(bpy_obj, cw, cx)\r\n  File \"C:\\Program Project\\Blender 2.77a\\2.77\\scripts\\addons\\io_scene_xray\\fmt_object_exp.py\", line 352, in _export\r\n    _export_main(bpy_obj, w, cx)\r\n  File \"C:\\Program Project\\Blender 2.77a\\2.77\\scripts\\addons\\io_scene_xray\\fmt_object_exp.py\", line 330, in _export_main\r\n    export_motions(pw, a, cx, some_arm)\r\n  File \"C:\\Program Project\\Blender 2.77a\\2.77\\scripts\\addons\\io_scene_xray\\xray_motions.py\", line 40, in export_motions\r\n    mat = xm * Matrix.Translation(tr) * Euler(rt, rotmode).to_matrix().to_4x4()\r\nValueError: mathutils.Euler(): invalid euler order 'QUATERNION'\r\n\r\nЭто связано с тем, что у кости стоит не правильный режим вращения. Как изменить режим вращения у всех нужных костей так, чтобы анимация сохранилась такой как есть? Вот пример: [rotation_mode.zip](https://github.com/igelbox/blender-xray/files/253979/rotation_mode.zip)\r\nТак получилось, что в сцене кости имеют разные режимы вращения, и это заметил я слишком поздно."}}