| 147 | } |
| 148 | |
| 149 | void VRMLObject::Save(Base::Writer& writer) const |
| 150 | { |
| 151 | App::GeoFeature::Save(writer); |
| 152 | |
| 153 | // save also the inline files if there |
| 154 | const std::vector<std::string>& urls = Resources.getValues(); |
| 155 | for (const auto& url : urls) { |
| 156 | writer.addFile(url.c_str(), this); |
| 157 | } |
| 158 | |
| 159 | this->indexSave = 0; |
| 160 | } |
| 161 | |
| 162 | void VRMLObject::Restore(Base::XMLReader& reader) |
| 163 | { |