GaijinEntertainment / DagorEngine

Dagor Engine and Tools source code from Gaijin Games KFT
Other
2.14k stars 267 forks source link

Blender plugin not working on 4.0? #34

Closed Prisoner6278 closed 4 months ago

Prisoner6278 commented 5 months ago

I installed the plugin on blender(4.0) and I can see that it's been installed but I can't check it to use it for some reason. What am I doing wrong? 스크린샷(11)

Ninkorr commented 5 months ago

Please, add error message from info panel or console. It has to have some kind of feedback on occurring error, when you trying to turn addon on. image image

Prisoner6278 commented 5 months ago

Here's the error message. 스크린샷(19)

Ninkorr commented 5 months ago

I see. It was installed incorrectly. Sources can't be copied directly to addons folder. If you have Python installed - run pack.bat or __build_pack.py (in downloaded sources). It creates zip with all necessary files, which can be installed as any other addon from Edit/Preferences/Add-ons/Install Alternatively, you can manually copy pyparsyng.py and datablock.py from pythonCommon folder, stored outside of dag4blend sources folder. Just put them into dag4blend/ directory.

Prisoner6278 commented 5 months ago

I see. It was installed incorrectly. Sources can't be copied directly to addons folder. If you have Python installed - run pack.bat or __build_pack.py (in downloaded sources). It creates zip with all necessary files, which can be installed as any other addon from Edit/Preferences/Add-ons/Install Alternatively, you can manually copy pyparsyng.py and datablock.py from pythonCommon folder, stored outside of dag4blend sources folder. Just put them into dag4blend/ directory.

It worked! Thanks!