Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed active user camera tracking.

  • Loading branch information...
commit f07d59f582a29bca55da12d83522849a885c6abb 1 parent c49296d
Andrew Caudwell acaudwell authored
3  ChangeLog
... ... @@ -1,3 +1,6 @@
  1 +0.32:
  2 + * Fixed behaviour of user camera tracking.
  3 +
1 4 0.31:
2 5 * Added --with-tinyxml option to configure (use the system TinyXML library).
3 6
2  configure.ac
@@ -3,7 +3,7 @@
3 3
4 4 AC_PREREQ(2.61)
5 5
6   -AC_INIT(Gource, 0.31, [acaudwell@gmail.com])
  6 +AC_INIT(Gource, 0.32, [acaudwell@gmail.com])
7 7 AC_CONFIG_SRCDIR([src/main.h])
8 8
9 9 AM_INIT_AUTOMAKE([dist-bzip2 foreign subdir-objects])
4 src/gource.cpp
@@ -1219,6 +1219,7 @@ void Gource::interactUsers() {
1219 1219 void Gource::updateBounds() {
1220 1220
1221 1221 user_bounds.reset();
  1222 + active_user_bounds.reset();
1222 1223
1223 1224 for(std::map<std::string,RUser*>::iterator it = users.begin(); it!=users.end(); it++) {
1224 1225 RUser* user = it->second;
@@ -1229,6 +1230,7 @@ void Gource::updateBounds() {
1229 1230 if(!user->isIdle()) {
1230 1231 active_user_bounds.update(user->quadItemBounds);
1231 1232 }
  1233 +
1232 1234 }
1233 1235
1234 1236 dir_bounds.reset();
@@ -2031,7 +2033,7 @@ void Gource::draw(float t, float dt) {
2031 2033 glLineWidth(2.0);
2032 2034 glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
2033 2035
2034   - track_users ? user_bounds.draw() : dir_bounds.draw();
  2036 + track_users ? active_user_bounds.draw() : dir_bounds.draw();
2035 2037 }
2036 2038
2037 2039 if(gGourceQuadTreeDebug) {
2  src/gource_settings.h
@@ -18,7 +18,7 @@
18 18 #ifndef GOURCE_SETTINGS_H
19 19 #define GOURCE_SETTINGS_H
20 20
21   -#define GOURCE_VERSION "0.31"
  21 +#define GOURCE_VERSION "0.32"
22 22
23 23 #include <dirent.h>
24 24

0 comments on commit f07d59f

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