add_mesh_discombobulator: add icon

This commit is contained in:
Brendon Murphy 2019-09-06 14:19:58 +10:00
parent 6cf2c54245
commit 6e5c6fc94b
1 changed files with 5 additions and 5 deletions

View File

@ -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