Cleanup code as it does not use Scene's attribute anymore.
This commit is contained in:
parent
0115beaad6
commit
2ea6f31f2b
@ -93,10 +93,6 @@ void StaticSprite2D::UpdateVertices()
|
||||
if (!verticesDirty_)
|
||||
return;
|
||||
|
||||
Scene* scene = GetScene();
|
||||
if (!scene)
|
||||
return;
|
||||
|
||||
vertices_.Clear();
|
||||
|
||||
Texture2D* texture = GetTexture();
|
||||
|
Loading…
Reference in New Issue
Block a user