Skip to content

Commit

Permalink
Fixes #843
Browse files Browse the repository at this point in the history
  • Loading branch information
tallytalwar committed Jul 26, 2016
1 parent ddff919 commit 3569877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/labels/label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Label::Label(Label::Transform _transform, glm::vec2 _size, Type _type, Options _
m_options(_options),
m_anchorType(_anchor) {

m_state = State::wait_occ;
if (!m_options.collide || m_type == Type::debug){
enterState(State::visible, 1.0);
} else {
m_state = State::wait_occ;
m_transform.state.alpha = 0.0;
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/tile/tileManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class TileManager {

std::shared_ptr<DataSource> source;
std::map<TileID, TileEntry> tiles;
int64_t sourceGeneration;
int64_t sourceGeneration = 0;
bool clientDataSource;
};

Expand Down

0 comments on commit 3569877

Please sign in to comment.