AndrewRayCode / AndrewRayCode/toasted-potato

Make the exporter work when nothing is selected

未關閉
#4 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug good first issue
主要語言
Python
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

When you first open a brand new file in Blender, there are no active objects in the scene. If you try to export, the Three.js option is grayed out. The hack to get around this is to select an object. Even if you de-select it, the `bpy.context.scene.objects.active` (because Blender) - and now the exporter can work.

The end result of this fix should be to be able to remove this hack, and still have the exporter work:

https://github.com/AndrewRayCode/toasted-potato/blob/master/test/scripts/export-from-blender.py#L15-L17

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。