Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Fix update flags in mbgl::Transform::{_moveBy,_setAngle} - #2060

Merged
brunoabinader merged 2 commits into
masterfrom
fix-transition-updates
Aug 13, 2015
Merged

brunoabinader merged 2 commits into
masterfrom
fix-transition-updates

Conversation

@brunoabinader

Copy link
Copy Markdown
Contributor

This is needed to properly tell Map::nudgeTransitions() to trigger a repaint.

Fixes #2036.

/cc @friedbunny @ljbade @1ec5 @incanus @kkaefer @tmpsantos

@brunoabinader
brunoabinader force-pushed the fix-transition-updates branch from c25ac02 to c8f2c24 Compare August 13, 2015 04:36
@brunoabinader brunoabinader changed the title Makes transition updates trigger MapData::setNeedsRepaint Fix Transform::updateTransitions return value Aug 13, 2015
@brunoabinader
brunoabinader force-pushed the fix-transition-updates branch from c8f2c24 to 3f2d57e Compare August 13, 2015 07:06
@brunoabinader brunoabinader changed the title Fix Transform::updateTransitions return value Added operator implementations for mbgl::Update enum class Aug 13, 2015
Transform::{_moveBy,_setAngle} were returning Update::Nothing, causing
the render to not repaint. Replacing with Update::Repaint fixes the
issue.

Fixes #2036.
@brunoabinader
brunoabinader force-pushed the fix-transition-updates branch from 3f2d57e to 5ff855b Compare August 13, 2015 07:24
@brunoabinader brunoabinader changed the title Added operator implementations for mbgl::Update enum class Fix update flags in mbgl::Transform::{_moveBy,_setAngle} Aug 13, 2015
@brunoabinader brunoabinader added bug iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS Android Mapbox Maps SDK for Android Linux and removed in progress labels Aug 13, 2015
@brunoabinader
brunoabinader merged commit 5ff855b into master Aug 13, 2015
@mourner mourner removed the ready label Aug 13, 2015
@brunoabinader
brunoabinader deleted the fix-transition-updates branch August 13, 2015 07:53
@1ec5

1ec5 commented Aug 13, 2015

Copy link
Copy Markdown
Contributor

Thanks @brunoabinader!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android bug iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants