This was because brushes are not in an initialized state by default, SetRadius needs to be called on them before they can be used. This is ensured elsewhere but had not been ensured on this code path. This is hilariously bad design and needs to be fixed sometime. |
||
---|---|---|
.. | ||
BitmapBrush.cpp | ||
BitmapBrush.h | ||
Brush.cpp | ||
Brush.h | ||
DecorationTool.cpp | ||
DecorationTool.h | ||
EllipseBrush.h | ||
Favorite.cpp | ||
Favorite.h | ||
GameController.cpp | ||
GameController.h | ||
GameControllerEvents.h | ||
GameModel.cpp | ||
GameModel.h | ||
GameModelException.h | ||
GameView.cpp | ||
GameView.h | ||
GOLTool.cpp | ||
IntroText.h | ||
Menu.cpp | ||
Menu.h | ||
MenuButton.h | ||
meson.build | ||
Notification.h | ||
PropertyTool.cpp | ||
QuickOption.h | ||
QuickOptions.cpp | ||
QuickOptions.h | ||
RectangleBrush.h | ||
RenderPreset.h | ||
SampleTool.cpp | ||
SignTool.cpp | ||
Tool.cpp | ||
Tool.h | ||
ToolButton.cpp | ||
ToolButton.h | ||
TriangleBrush.h |