Changeset View
Changeset View
Standalone View
Standalone View
space_view3d_pie_menus/pie_proportional_menu.py
| Context not available. | |||||
| def execute(self, context): | def execute(self, context): | ||||
| ts = context.tool_settings | ts = context.tool_settings | ||||
| if ts.proportional_edit != ('DISABLED'): | if ts.proportional_edit != 'DISABLED': | ||||
| ts.proportional_edit = 'DISABLED' | ts.proportional_edit = 'DISABLED' | ||||
| elif ts.proportional_edit != ('ENABLED'): | elif ts.proportional_edit != 'ENABLED': | ||||
| ts.proportional_edit = 'ENABLED' | ts.proportional_edit = 'ENABLED' | ||||
| return {'FINISHED'} | return {'FINISHED'} | ||||
| Context not available. | |||||
| def execute(self, context): | def execute(self, context): | ||||
| ts = context.tool_settings | ts = context.tool_settings | ||||
| if ts.proportional_edit != ('CONNECTED'): | if ts.proportional_edit != 'CONNECTED': | ||||
| ts.proportional_edit = 'CONNECTED' | ts.proportional_edit = 'CONNECTED' | ||||
| return {'FINISHED'} | return {'FINISHED'} | ||||
| Context not available. | |||||
| def execute(self, context): | def execute(self, context): | ||||
| ts = context.tool_settings | ts = context.tool_settings | ||||
| if ts.proportional_edit != ('PROJECTED'): | if ts.proportional_edit != 'PROJECTED': | ||||
| ts.proportional_edit = 'PROJECTED' | ts.proportional_edit = 'PROJECTED' | ||||
| return {'FINISHED'} | return {'FINISHED'} | ||||
| Context not available. | |||||