Hot-Reloading

The plugin features a robust hot-reloading mechanism that ensures your changes are immediately visible in Blender without needing to restart it.

Automatic Reload

  1. Go to Settings > Tools > Blender Extension Integration.

  2. Check Auto-reload extension on save.

  3. Now, whenever you save a file (Ctrl+S) or the IDE performs an auto-save, the plugin sends a reload command to Blender.

Manual Reload

  • Keyboard Shortcut: Ctrl+Alt+R (Windows/Linux/macOS).

  • Menu Action: Blender > Reload Extension.

How it Works

The reload process is more than just a script refresh; it:

  1. Disables your extension.

  2. Purges the module and all submodules from Python’s cache (sys.modules).

  3. Refreshes Blender’s extension repositories.

  4. Re-enables the extension to force a clean import.