MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getCanSaveParent

Method getCanSaveParent

Engine/source/gui/core/guiControl.cpp:1821–1833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1819//-----------------------------------------------------------------------------
1820
1821bool GuiControl::getCanSaveParent()
1822{
1823 GuiControl *walk = this;
1824 while(walk)
1825 {
1826 if(!walk->getCanSave())
1827 return false;
1828
1829 walk = walk->getParent();
1830 }
1831
1832 return true;
1833}
1834
1835//-----------------------------------------------------------------------------
1836

Callers

nothing calls this directly

Calls 2

getCanSaveMethod · 0.80
getParentMethod · 0.45

Tested by

no test coverage detected