From 3078f41af9ac0ecff4cc8dc41269b31eca15ae8b Mon Sep 17 00:00:00 2001 From: Kathleen Biagas Date: Thu, 19 Dec 2024 12:43:31 -0800 Subject: [PATCH] Fix how use_global_id query parameter is retrieved. This resolves #20138, logging of Pick query incorrect when using global id. --- src/visitpy/common/Logging.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/visitpy/common/Logging.C b/src/visitpy/common/Logging.C index e3903e7442..12028b49de 100644 --- a/src/visitpy/common/Logging.C +++ b/src/visitpy/common/Logging.C @@ -1356,9 +1356,9 @@ static std::string log_QueryRPC(ViewerRPC *rpc) qn = "NodePick"; else if (pt == "DomainZone") { - bool global = false; + int global = 0; if (queryParams.HasNumericEntry("use_global_id")) - global = queryParams.GetEntry("use_global_id")->ToBool(); + global = queryParams.GetEntry("use_global_id")->ToInt(); if (global) qn = "PickByGlobalZone"; else @@ -1366,9 +1366,9 @@ static std::string log_QueryRPC(ViewerRPC *rpc) } else if (pt == "DomainNode") { - bool global = false; + int global = 0; if (queryParams.HasNumericEntry("use_global_id")) - global = queryParams.GetEntry("use_global_id")->AsBool(); + global = queryParams.GetEntry("use_global_id")->AsInt(); if (global) qn = "PickByGlobalNode"; else