Skip to content

Commit 6c8533f

Browse files
Merge pull request #912 from openmobilemaps/bugfix/renderpass-generation
adds pregeneration after collision invalidate
2 parents 4f837e0 + 0015df8 commit 6c8533f

6 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Version 3.8.0
44
- Add support for multiple sprite sources, breaking change in LocalDataProvider interface
55

6+
## Version 3.7.1
7+
- Fixed an issue on iOS where vector layer symbols didn't invalidate properly after global state changes
8+
69
## Version 3.7.0
710
- Added the iOS equivalent for the elevation interpolation shader for OpenGL
811
- Support non-premultiplied Android Bitmaps in the OpenGL BitmapTextureHolder

android/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ SNAPSHOT_REPOSITORY_URL=https://oss.sonatype.org/content/repositories/snapshots/
3131

3232
GROUP=io.openmobilemaps
3333
POM_ARTIFACT_ID=mapscore
34-
VERSION_NAME=3.7.0
35-
VERSION_CODE=3070000
34+
VERSION_NAME=3.7.1
35+
VERSION_CODE=3070100
3636

3737
POM_NAME=mapscore
3838
POM_PACKAGING=aar

android/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ This library is available on MavenCentral. To add it to your Android project, ad
6464

6565
```
6666
dependencies {
67-
implementation 'io.openmobilemaps:mapscore:3.7.0'
67+
implementation 'io.openmobilemaps:mapscore:3.7.1'
6868
}
6969
```
7070

ios/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For App integration within XCode, add this package to your App target. To do thi
3131
Once you have your Swift package set up, adding Open Mobile Maps as a dependency is as easy as adding it to the dependencies value of your Package.swift.
3232
```swift
3333
dependencies: [
34-
.package(url: "https://github.com/openmobilemaps/maps-core", from: .init(stringLiteral: "3.7.0"))
34+
.package(url: "https://github.com/openmobilemaps/maps-core", from: .init(stringLiteral: "3.7.1"))
3535
]
3636
```
3737

shared/src/MapsCoreSharedModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
#include "MapsCoreSharedModule.h"
1212

13-
std::string MapsCoreSharedModule::version() { return "3.7.0"; }
13+
std::string MapsCoreSharedModule::version() { return "3.7.1"; }

shared/src/map/layers/tiled/vector/symbol/Tiled2dMapVectorSourceSymbolDataManager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,8 @@ void Tiled2dMapVectorSourceSymbolDataManager::setupSymbolGroups(const Tiled2dMap
511511
});
512512
}
513513
vectorLayer.message(MFN(&Tiled2dMapVectorLayer::invalidateCollisionState));
514+
auto selfActor = WeakActor(mailbox, weak_from_this());
515+
selfActor.message(MailboxExecutionEnvironment::graphics, MFN(&Tiled2dMapVectorSourceSymbolDataManager::pregenerateRenderPasses));
514516
readyManager.message(MFN(&Tiled2dMapVectorReadyManager::setReady), readyManagerIndex, tileInfo, std::get<0>(layerIt->second).baseValue);
515517
}
516518

0 commit comments

Comments
 (0)