mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 23:53:51 +00:00
Adjusts engine cleanup ordering on shaderFeatureMgr to avoid periodic crashes on Mac ARM machines
Adds missing disconnect/timeout handling callbacks to the clientServer core module Adds page refresh function to UINavigation to be able to selectively nudge the current page to refresh its contents if needbe
This commit is contained in:
parent
34d109d45e
commit
1acf4b2dae
4 changed files with 32 additions and 2 deletions
|
|
@ -287,4 +287,18 @@ function UINavigation::getPageCount(%this)
|
|||
%count++;
|
||||
|
||||
return %count;
|
||||
}
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
/// Summary:
|
||||
/// Force the page to reprocess to ensure it's status is up to date
|
||||
function UINavigation::refreshPage(%this)
|
||||
{
|
||||
%page = %this.getCurrentPage();
|
||||
if(!isObject(%page))
|
||||
return;
|
||||
|
||||
if(%page.isMethod("onOpen"))
|
||||
%page.call("onOpen");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue