mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Fixed type inference for nulls in console functions
This commit is contained in:
parent
0ab089468f
commit
3f6c269f6a
17 changed files with 29 additions and 22 deletions
|
|
@ -2147,7 +2147,7 @@ ConsoleDocFragment _popDialog2(
|
|||
"void popDialog();"
|
||||
);
|
||||
|
||||
DefineConsoleMethod( GuiCanvas, popDialog, void, (GuiControl * gui), (NULL), "(GuiControl ctrl=NULL)"
|
||||
DefineConsoleMethod( GuiCanvas, popDialog, void, (GuiControl * gui), (nullAsType<GuiControl*>()), "(GuiControl ctrl=NULL)"
|
||||
"@hide")
|
||||
{
|
||||
if (gui)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue