diff options
author | meta-androcto <meta.androcto1@gmail.com> | 2019-09-06 07:19:58 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2019-09-06 07:19:58 +0300 |
commit | 6e5c6fc94b0305330886e6f3d80dddf4201c888a (patch) | |
tree | 66653f162dac606571e59f333307e099b9177f3a | |
parent | 6cf2c54245464284798f643837d2c66268c13ac6 (diff) |
add_mesh_discombobulator: add icon
-rw-r--r-- | add_mesh_discombobulator/__init__.py | 10 |
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 |