This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/gui/game
Tamás Bálint Misius d2d1fd902f
Fix crash upon changing tpt.brushID
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.
2023-09-10 11:32:32 +02:00
..
BitmapBrush.cpp Fix some deprecation warnings 2023-04-29 14:44:27 +02:00
BitmapBrush.h Fix crash from new brush code when TPTMP is enabled 2023-02-28 14:57:30 +01:00
Brush.cpp Fix some deprecation warnings 2023-04-30 11:27:58 +02:00
Brush.h Fix some deprecation warnings 2023-04-29 14:44:27 +02:00
DecorationTool.cpp Fix some deprecation warnings 2023-04-29 14:44:27 +02:00
DecorationTool.h Refactor tools 2023-04-05 14:11:37 +02:00
EllipseBrush.h Fix some deprecation warnings 2023-04-29 14:44:27 +02:00
Favorite.cpp Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Favorite.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
GameController.cpp Fix crash upon changing tpt.brushID 2023-09-10 11:32:32 +02:00
GameController.h Handle ptsave urls with GameController 2023-08-22 23:51:17 +02:00
GameControllerEvents.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
GameModel.cpp Fix crash upon changing tpt.brushID 2023-09-10 11:32:32 +02:00
GameModel.h Prevent almost all HTTP requests from blocking 2023-06-10 19:19:53 +02:00
GameModelException.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
GameView.cpp Enter stamp placement mode when dnd'ing a stamp 2023-08-29 15:17:43 +02:00
GameView.h Emscripten: Add Platform::MarkPresentable 2023-08-23 00:42:34 +02:00
GOLTool.cpp Use _rgb literals where possible 2023-04-30 14:22:56 +02:00
IntroText.h Emscripten: Cosmetics 2023-08-22 00:26:32 +02:00
Menu.cpp Flatten include trees 2019-04-20 15:36:11 +02:00
Menu.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
MenuButton.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
meson.build Mesonification 2020-12-14 20:16:52 +01:00
Notification.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
PropertyTool.cpp Make PROP tool less annoying to use 2023-09-05 09:28:05 +02:00
QuickOption.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
QuickOptions.cpp Flatten include trees 2019-04-20 15:36:11 +02:00
QuickOptions.h Flatten include trees 2019-04-20 15:36:11 +02:00
RectangleBrush.h Fix crash from new brush code when TPTMP is enabled 2023-02-28 14:57:30 +01:00
RenderPreset.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
SampleTool.cpp Refactor tools 2023-04-05 14:11:37 +02:00
SignTool.cpp Use _rgb literals where possible 2023-04-30 14:22:56 +02:00
Tool.cpp Refactor tools 2023-04-05 14:11:37 +02:00
Tool.h Make PROP tool less annoying to use 2023-09-05 09:28:05 +02:00
ToolButton.cpp Use _rgb literals where possible 2023-04-30 14:22:56 +02:00
ToolButton.h Remove Graphics::SetClipRect 2023-04-12 19:24:54 +02:00
TriangleBrush.h Fix some deprecation warnings 2023-04-29 14:44:27 +02:00