Fix T43634: Selecting 'Drop Color' from spacebar menu causes instant close
This is an internal operator, should not be invoked manually.
This commit is contained in:
parent
625101da99
commit
77faefb453
Notes:
blender-bot
2023-02-14 09:29:44 +01:00
Referenced by issue #43634, Selecting 'Drop Color' from spacebar menu causes instant close
|
@ -921,6 +921,7 @@ static void UI_OT_drop_color(wmOperatorType *ot)
|
|||
ot->description = "Drop colors to buttons";
|
||||
|
||||
ot->invoke = drop_color_invoke;
|
||||
ot->flag = OPTYPE_INTERNAL;
|
||||
|
||||
RNA_def_float_color(ot->srna, "color", 3, NULL, 0.0, FLT_MAX, "Color", "Source color", 0.0, 1.0);
|
||||
RNA_def_boolean(ot->srna, "gamma", 0, "Gamma Corrected", "The source color is gamma corrected ");
|
||||
|
|
Loading…
Reference in New Issue