Fix #130783: Image editor tools do not set active brush

Missed in a38c96b92c

Pull Request: https://projects.blender.org/blender/blender/pulls/130946
This commit is contained in:
Sean Kim
2024-11-27 20:50:30 +01:00
committed by Sean Kim
parent 6e6b9abf55
commit b53a9a671d

View File

@@ -424,6 +424,11 @@ static void toolsystem_brush_activate_from_toolref(const bContext *C,
toolsystem_brush_activate_from_toolref_for_object_paint(C, workspace, tref);
}
}
else if (tref->space_type == SPACE_IMAGE) {
if (tref->mode == SI_MODE_PAINT) {
toolsystem_brush_activate_from_toolref_for_object_paint(C, workspace, tref);
}
}
}
/** \} */