| 2161 | } |
| 2162 | |
| 2163 | void TSShape::makeEditable() |
| 2164 | { |
| 2165 | mNeedReinit = true; |
| 2166 | if (mShapeVertexData.base == NULL) |
| 2167 | return; |
| 2168 | |
| 2169 | for (U32 i = 0; i < meshes.size(); i++) |
| 2170 | { |
| 2171 | if (meshes[i]) |
| 2172 | { |
| 2173 | meshes[i]->makeEditable(); |
| 2174 | } |
| 2175 | } |
| 2176 | |
| 2177 | mShapeVertexData.set(NULL, 0); |
| 2178 | } |
| 2179 | |
| 2180 | bool TSShape::needsReinit() |
| 2181 | { |