summaryrefslogtreecommitdiffstats
path: root/core/variant.cpp
diff options
context:
space:
mode:
authorIbrahn Sahir <ibrahn.sahir@gmail.com>2019-07-05 18:08:43 +0100
committerIbrahn Sahir <ibrahn.sahir@gmail.com>2019-07-06 12:04:27 +0100
commit4e4697b1c481094949165fa9edbe6aeebcfcf3b4 (patch)
treea05fa9e7249febb9093885ddc21da1cd967be314 /core/variant.cpp
parent0b6b49a897b35bec53765e1288c32d57afa1a293 (diff)
downloadredot-engine-4e4697b1c481094949165fa9edbe6aeebcfcf3b4.tar.gz
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)
Diffstat (limited to 'core/variant.cpp')
-rw-r--r--core/variant.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/variant.cpp b/core/variant.cpp
index 5b51a4e513..fe9623d068 100644
--- a/core/variant.cpp
+++ b/core/variant.cpp
@@ -2418,9 +2418,6 @@ Variant::Variant(const PoolVector<Face3> &p_face_array) {
for (int j = 0; j < 3; j++)
w[i * 3 + j] = r[i].vertex[j];
}
-
- r = PoolVector<Face3>::Read();
- w = PoolVector<Vector3>::Write();
}
type = NIL;