mirror of https://github.com/axmolengine/axmol.git
Inspector: remove dup 0x prefix for object address
This commit is contained in:
parent
54db10874f
commit
f4c3556039
|
@ -199,11 +199,11 @@ void Inspector::drawProperties()
|
||||||
// ImGui::EndPopup();
|
// ImGui::EndPopup();
|
||||||
//}
|
//}
|
||||||
|
|
||||||
ImGui::Text("Addr: 0x%p", _selected_node);
|
ImGui::Text("Addr: %p", _selected_node);
|
||||||
if (auto userData = _selected_node->getUserData(); userData)
|
if (auto userData = _selected_node->getUserData(); userData)
|
||||||
{
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Text("User data: 0x%p", userData);
|
ImGui::Text("User data: %p", userData);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto pos = _selected_node->getPosition();
|
auto pos = _selected_node->getPosition();
|
||||||
|
|
Loading…
Reference in New Issue