Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1775,10 +1775,10 @@ QSharedPointer<NetworkGeometry> GeometryCache::getGeometry(const QUrl& url, cons · 1774 unmodified lines | ||
| 1775 | 1775 | return getResource(url, fallback, delayLoad, NULL).staticCast<NetworkGeometry>(); |
| 1776 | 1776 | } |
| 1777 | 1777 | |
| 1778 | −QSharedPointer<Resource> GeometryCache::createResource(const QUrl& url, | |
| 1779 | − const QSharedPointer<Resource>& fallback, bool delayLoad, const void* extra) { | |
| 1778 | +QSharedPointer<Resource> GeometryCache::createResource(const QUrl& url, const QSharedPointer<Resource>& fallback, | |
| 1779 | + bool delayLoad, const void* extra) { | |
| 1780 | 1780 | QSharedPointer<NetworkGeometry> geometry(new NetworkGeometry(url, fallback.staticCast<NetworkGeometry>(), delayLoad), |
| 1781 | − &Resource::allReferencesCleared); | |
| 1781 | + &Resource::allReferencesCleared); | |
| 1782 | 1782 | geometry->setLODParent(geometry); |
| 1783 | 1783 | return geometry.staticCast<Resource>(); |
| 1784 | 1784 | } |