Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormeta-androcto <meta.androcto1@gmail.com>2019-09-06 07:19:58 +0300
committermeta-androcto <meta.androcto1@gmail.com>2019-09-06 07:19:58 +0300
commit6e5c6fc94b0305330886e6f3d80dddf4201c888a (patch)
tree66653f162dac606571e59f333307e099b9177f3a /add_mesh_discombobulator
parent6cf2c54245464284798f643837d2c66268c13ac6 (diff)
add_mesh_discombobulator: add icon
Diffstat (limited to 'add_mesh_discombobulator')
-rw-r--r--add_mesh_discombobulator/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/add_mesh_discombobulator/__init__.py b/add_mesh_discombobulator/__init__.py
index a52b54d8..a188ddab 100644
--- a/add_mesh_discombobulator/__init__.py
+++ b/add_mesh_discombobulator/__init__.py
@@ -57,12 +57,12 @@ from bpy.props import (
# Define "Extras" menu
def menu_func(self, context):
- lay_out = self.layout
- lay_out.operator_context = 'INVOKE_REGION_WIN'
+ layout = self.layout
+ layout.operator_context = 'INVOKE_REGION_WIN'
- lay_out.separator()
- lay_out.operator("discombobulate.ops",
- text="Discombobulator")
+ layout.separator()
+ layout.operator("discombobulate.ops",
+ text="Discombobulator", icon="MOD_BUILD")
# Properties