Abhinav Gangwar
2017-04-11 08:22:50 UTC
abhgangwar created this revision.
REVISION SUMMARY
In method MarbleModelPrivate::assignFillColors(const QString &filePath):
If the inner loop, which is iterating over the GeoSceneGeodata set in a layer, finds valid GeoSceneGeodata in the layer, the variable data becomes nonnull. If the data is nonnull, it causes the outer loop to exit even when the source file of GeoSceneData and path of parsed file don't match ( the condition data->sourceFile() == filePath in inner loop ). This results in applying wrong GeoSceneGeodata to a GeoDataDocument.
REPOSITORY
R34 Marble
REVISION DETAIL
https://phabricator.kde.org/D5396
AFFECTED FILES
src/lib/marble/MarbleModel.cpp
To: abhgangwar, nienhueser, rahn
Cc: marble-devel
REVISION SUMMARY
In method MarbleModelPrivate::assignFillColors(const QString &filePath):
If the inner loop, which is iterating over the GeoSceneGeodata set in a layer, finds valid GeoSceneGeodata in the layer, the variable data becomes nonnull. If the data is nonnull, it causes the outer loop to exit even when the source file of GeoSceneData and path of parsed file don't match ( the condition data->sourceFile() == filePath in inner loop ). This results in applying wrong GeoSceneGeodata to a GeoDataDocument.
REPOSITORY
R34 Marble
REVISION DETAIL
https://phabricator.kde.org/D5396
AFFECTED FILES
src/lib/marble/MarbleModel.cpp
To: abhgangwar, nienhueser, rahn
Cc: marble-devel