Added release function to PoolVector::Access.
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
This commit is contained in:
parent
0b6b49a897
commit
4e4697b1c4
41 changed files with 102 additions and 114 deletions
|
|
@ -144,7 +144,7 @@ void MultiMeshEditor::_populate() {
|
|||
}
|
||||
}
|
||||
|
||||
w = PoolVector<Face3>::Write();
|
||||
w.release();
|
||||
|
||||
PoolVector<Face3> faces = geometry;
|
||||
ERR_EXPLAIN(TTR("Parent has no solid faces to populate."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue