Skip to content

Commit

Permalink
Rename the plugin to terrain_eroder
Browse files Browse the repository at this point in the history
  • Loading branch information
petak5 committed Apr 25, 2022
1 parent 911c79f commit f62c460
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 9 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# Terrain eroder
Blender plugin for terrain erosion


# Installation

## End user installation
- Download the latest release from [here](https://github.com/petak5/BP/releases/) or create the `.zip` manually from `erosion_plugin/` folder and install the `.zip` file from Blender (`Preferences -> Add-ons -> Install`)
- Download the latest release from [here](https://github.com/petak5/BP/releases/) or create the `.zip` manually from `terrain_eroder/` folder and install the `.zip` file from Blender (`Preferences -> Add-ons -> Install`)

## Development installation (changes to code are applied to plugin after Blender restarts)
- Create a symlink to `erosion_plugin/` folder from Blender's addons folder
- Create a symlink to `terrain_eroder/` folder from Blender's addons folder
### macOS
- `cd /Users/<user>/Library/Application Support/Blender/<blender-version>/scripts/addons/`
- `ln -s erosion_plugin <path-to-erosion-plugin>`
- `ln -s terrain_eroder <path-to-terrain-eroder>`
### Windows (cmd as Administrator)
- `cd c:\Users\<user>\AppData\Roaming\Blender Foundation\Blender\<blender-version>\scripts\addons\`
- `mklink /D erosion_plugin <path-to-erosion-plugin>`
- `mklink /D terrain_eroder <path-to-terrain-eroder>`
6 changes: 3 additions & 3 deletions erosion_plugin/__init__.py → terrain_eroder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@


bl_info = {
"name": "Eroder",
"name": "Terrain Eroder",
"author": "Peter Urgos",
"version": (0, 0, 1),
"version": (0, 1, 0),
"blender": (2, 93, 0),
"location": "View3D > Sidebar > Erosion",
"location": "View3D > Sidebar > Eroder",
"description": "Add-on for terrain erosion",
"category": "3D View"
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ErosionPanel(bpy.types.Panel):
bl_idname = "OBJECT_PT_terrain_erosion"
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_category = "Erosion"
bl_category = "Eroder"

def draw(self, context: bpy.types.Context):
layout = self.layout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class MyPluginPanel(bpy.types.Panel):
bl_idname = "OBJECT_PT_erosion_helper"
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_category = "Erosion"
bl_category = "Eroder"

def draw(self, context):
layout = self.layout
Expand Down
File renamed without changes.

0 comments on commit f62c460

Please sign in to comment.