Browse files

Fixed active user camera tracking.

  • Loading branch information...
1 parent c49296d commit f07d59f582a29bca55da12d83522849a885c6abb @acaudwell acaudwell committed Mar 2, 2011
Showing with 8 additions and 3 deletions.
  1. +3 −0 ChangeLog
  2. +1 −1 configure.ac
  3. +3 −1 src/gource.cpp
  4. +1 −1 src/gource_settings.h
View
3 ChangeLog
@@ -1,3 +1,6 @@
+0.32:
+ * Fixed behaviour of user camera tracking.
+
0.31:
* Added --with-tinyxml option to configure (use the system TinyXML library).
View
2 configure.ac
@@ -3,7 +3,7 @@
AC_PREREQ(2.61)
-AC_INIT(Gource, 0.31, [acaudwell@gmail.com])
+AC_INIT(Gource, 0.32, [acaudwell@gmail.com])
AC_CONFIG_SRCDIR([src/main.h])
AM_INIT_AUTOMAKE([dist-bzip2 foreign subdir-objects])
View
4 src/gource.cpp
@@ -1219,6 +1219,7 @@ void Gource::interactUsers() {
void Gource::updateBounds() {
user_bounds.reset();
+ active_user_bounds.reset();
for(std::map<std::string,RUser*>::iterator it = users.begin(); it!=users.end(); it++) {
RUser* user = it->second;
@@ -1229,6 +1230,7 @@ void Gource::updateBounds() {
if(!user->isIdle()) {
active_user_bounds.update(user->quadItemBounds);
}
+
}
dir_bounds.reset();
@@ -2031,7 +2033,7 @@ void Gource::draw(float t, float dt) {
glLineWidth(2.0);
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
- track_users ? user_bounds.draw() : dir_bounds.draw();
+ track_users ? active_user_bounds.draw() : dir_bounds.draw();
}
if(gGourceQuadTreeDebug) {
View
2 src/gource_settings.h
@@ -18,7 +18,7 @@
#ifndef GOURCE_SETTINGS_H
#define GOURCE_SETTINGS_H
-#define GOURCE_VERSION "0.31"
+#define GOURCE_VERSION "0.32"
#include <dirent.h>

0 comments on commit f07d59f

Please sign in to comment.