mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-26 00:43:00 +08:00
Moved renderentities check
This commit is contained in:
parent
1b94cd4f04
commit
aec2426d7b
@ -1537,8 +1537,6 @@ namespace CodeWalker.Rendering
|
||||
//if an entity is not fully loaded, set a flag for its parent, then traverse to root
|
||||
//until found an entity that is fully loaded.
|
||||
//on a second loop, build a final render list based on the flags.
|
||||
if(renderentities)
|
||||
{
|
||||
|
||||
for (int i = 0; i < renderworldentities.Count; i++)
|
||||
{
|
||||
@ -1565,6 +1563,8 @@ namespace CodeWalker.Rendering
|
||||
}
|
||||
}
|
||||
|
||||
if(renderentities)
|
||||
{
|
||||
for (int i = 0; i < renderworldrenderables.Count; i++)
|
||||
{
|
||||
var rent = renderworldrenderables[i];
|
||||
|
Loading…
Reference in New Issue
Block a user