dlannan / defold-blender-export

A blender import/export system for Defold
MIT License
41 stars 1 forks source link

The addon just don't work #7

Closed Caue-Aron closed 2 years ago

Caue-Aron commented 2 years ago

I properly set up everything, gave admin permission to both blender and the interpreter, but still, when I click to sync it doesnt do anything. Thats my scene: image

dlannan commented 2 years ago

Hi Caue-Aron. Quick checklist:

I suspect its the last issue. Some scenes you can have many collections, and so it uses the one which is currently selected - you can select an object within it, and that should also select the collection.

I might also check on the object iteration. It might be doing something odd

I might make it an option to set the collection in the panel - making it a little more clear.

To be clear, Collections in Blender become Collections in Defold. Let me know if this helps.

dlannan commented 2 years ago

Can you also post a picture of the panel, so I can check the settings you are using. Also, you can open the info panel, and if there are any errors, they should appear there.

Oh. also. Can you provide some details about Blender version, OS you are working on, and path arrangement - check the path you are exporting to has write permissions (ie not protected).

dlannan commented 2 years ago

Looking again. I can see that there is no collection in this scene. All objects need to live in a collection. The root "Scene Collection" is a world container. The goal of Defender is to map Collections in Blender to Collections in Defold. I'll add some error handling and logging for this, as well some more documentation on the requirements for your scene.