ZoneCode: Add Action on loading a GfxImage to set the loadedSize property to 0 to indicate Texture data has not yet been loaded

This commit is contained in:
Jan committed 2020-02-06 21:26:34 +01:00
1 parent 75f6caab54
commit 55d5746650
4 files changed
+12

No files matched your search

@@ -206,6 +206,10 @@ void $LoaderClassName(context.Asset)$::LoadPtr_$structure.Type.Name$(const bool
Load_$structure.Type.Name$(true);
$endif$
$if(structure.PostLoadAction)$
$CustomAction(structure.PostLoadAction)$
$endif$
$if(structure.IsAsset)$
LoadAsset_$structure.Type.Name$($TypePtrVarName(structure.Type)$);
$endif$