8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 010bb38 commit fdc5c93Copy full SHA for fdc5c93
operators.py
@@ -191,14 +191,12 @@ class COLORPLUS_OT_active_color_switch(DefaultsOperator):
191
192
def execute(self, context: Context):
193
color_plus = context.scene.color_plus
194
-
195
saved_color_tweak = color_plus.live_color_tweak
196
color_plus.live_color_tweak = False
197
198
- color_plus.color_wheel = iterable_to_list(color_plus.color_wheel)
199
- color_plus.alt_color_wheel = \
200
- iterable_to_list(color_plus.alt_color_wheel)
201
+ color_wheel = iterable_to_list(color_plus.color_wheel)
+ alt_color_wheel = iterable_to_list(color_plus.alt_color_wheel)
+ color_plus.color_wheel = alt_color_wheel
+ color_plus.alt_color_wheel = color_wheel
202
color_plus.live_color_tweak = saved_color_tweak
203
return {'FINISHED'}
204
0 commit comments