Skip to content

Commit

Permalink
debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Jul 4, 2024
1 parent 1ea5400 commit 6b8ad0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/features/TypeInZLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ class $modify(TypeInUI, EditorUI) {
auto layerLocked = !onAll ; //?
// m_editorLayer->isLayerLocked(m_editorLayer->m_currentLayer) :
// false;

log::info("LevelEditorLayer::m_lockedLayers: 0x{:x}", offsetof(LevelEditorLayer, m_lockedLayers));
log::info("LevelEditorLayer::m_currentLayer: 0x{:x}", offsetof(LevelEditorLayer, m_currentLayer));
log::info("LevelEditorLayer::m_layerLockingEnabled: 0x{:x}", offsetof(LevelEditorLayer, m_layerLockingEnabled));

if (onAll) {
sprite = "GJ_lockGray_001.png";
Expand Down

0 comments on commit 6b8ad0b

Please sign in to comment.