core: add debugging "magic" function

Just a UI way of turning on debug functionality
This commit is contained in:
itsmattkc
2022-11-05 11:56:39 -07:00
parent c357b04e82
commit 1575b82fd2
4 changed files with 26 additions and 1 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ Core::Core(const CoreParams& params) :
snapping_(true),
core_params_(params),
pixel_sampling_users_(0),
shown_cache_full_warning_(false)
shown_cache_full_warning_(false),
magic_(false)
{
// Store reference to this object, making the assumption that Core will only ever be made in
// main(). This will obviously break if not.