Skip to content
Browse files

Still calculate the position of tree edges for drawing labels when tr…

…ee is hidden.
  • Loading branch information...
1 parent 4c568fe commit 095a74ee28ea6f976ca3c6115d44356d975c4118 @acaudwell committed Jun 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gource.cpp
View
3 src/gource.cpp
@@ -1889,10 +1889,11 @@ void Gource::drawScene(float dt) {
}
void Gource::updateAndDrawEdges() {
- if(gGourceSettings.hide_tree) return;
root->calcEdges();
+ if(gGourceSettings.hide_tree) return;
+
//switch to 2d
glMatrixMode(GL_PROJECTION);
glPushMatrix();

0 comments on commit 095a74e

Please sign in to comment.
Something went wrong with that request. Please try again.