-
Notifications
You must be signed in to change notification settings - Fork 19
Development Setup
Clone the repository.
Download and install the latest blender version from here. Start blender and go to Edit>Preferences>Add-ons. Enable any Add-on here and disable it again.(This creates the required folders in %AppData%)
Download the python code coverage module from here.
Extract it and copy the coverage folder into
'your blender installation path'/Blender Foundation/Blender/'blender version'/scripts/modules
.
Open the command prompt and navigate to %AppData%/Roaming/Blender Foundation/Blender/'blender version'
Type mkdir scripts\addons
and press enter.
Type cd scripts\addons
and press enter.
Type mklink /D io_mesh_w3d 'path to plugin repository'/io_mesh_w3d
and press enter.
Then type mklink /D tests 'path to plugin repository'/tests
and press enter.
Open the folder of the cloned repository and create a copy of the runTests.bat
.
Edit the file so that it points to the location of the blender.exe
.
Run the tests by executing the batch file.
Start blender, navigate to Edit>Preferences>Add-ons and enable the w3d plugin (Import/Export Westwood w3d format (.w3d/.w3x).
Done! :)