Commit 1ef70563 authored by Michael Natterer's avatar Michael Natterer 😴

app: fix logic error in tool_options_manager_paint_options_notify()

parent 80c423ae
......@@ -343,13 +343,15 @@ tool_options_manager_paint_options_notify (GimpPaintOptions *src,
{
prop_mask |= GIMP_CONTEXT_PROP_MASK_BRUSH;
}
else if ((active || config->global_dynamics) &&
tool_info->context_props & GIMP_CONTEXT_PROP_MASK_DYNAMICS)
if ((active || config->global_dynamics) &&
tool_info->context_props & GIMP_CONTEXT_PROP_MASK_DYNAMICS)
{
prop_mask |= GIMP_CONTEXT_PROP_MASK_DYNAMICS;
}
else if ((active || config->global_gradient) &&
tool_info->context_props & GIMP_CONTEXT_PROP_MASK_GRADIENT)
if ((active || config->global_gradient) &&
tool_info->context_props & GIMP_CONTEXT_PROP_MASK_GRADIENT)
{
prop_mask |= GIMP_CONTEXT_PROP_MASK_GRADIENT;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment