Skip to content

Commit

Permalink
fix in StateSet.cpp
Browse files Browse the repository at this point in the history
the State::DefineMap::changed flag is not resetted to false after currentDefines are updated
  • Loading branch information
Julien Valentin authored and scrawl committed Feb 7, 2017
1 parent 9706924 commit 6331cae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osg/State.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1831,6 +1831,7 @@ bool State::DefineMap::updateCurrentDefines()
}
}
}
changed = false;
return true;
}
else
Expand Down

0 comments on commit 6331cae

Please sign in to comment.