| 12 | { |
| 13 | |
| 14 | void TexturePropertyInitialisator::initialise(PropertyPtr _property) |
| 15 | { |
| 16 | if (SettingsManager::getInstance().getValue<bool>("Settings/SaveLastTexture")) |
| 17 | { |
| 18 | std::string texture = SettingsManager::getInstance().getValue("Resources/LastTextureName"); |
| 19 | _property->setValue(texture); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | } |