-rw-r--r-- | src/controller/clear_selection.sqc | 9 | ||||
-rw-r--r-- | src/controller/exp004processhits.c | 6 | ||||
-rw-r--r-- | src/controller/keyboard.c | 10 | ||||
-rw-r--r-- | src/controller/selection_from_db.sqc | 6 | ||||
-rw-r--r-- | src/model/density_legend_geometry.c | 20 | ||||
-rw-r--r-- | src/model/exp004state.h | 7 | ||||
-rw-r--r-- | src/model/protein_geometry.c | 2 | ||||
-rw-r--r-- | src/view/exp004geometry.c | 26 | ||||
-rw-r--r-- | src/view/exp004init.c | 3 |
9 files changed, 59 insertions, 30 deletions
diff --git a/src/controller/clear_selection.sqc b/src/controller/clear_selection.sqc index 01a5364..ec98b4c 100644 --- a/src/controller/clear_selection.sqc +++ b/src/controller/clear_selection.sqc @@ -1,8 +1,6 @@ -/* I seem to need this for glGenBuffers as per - http://www.gamedev.net/community/forums/topic.asp?topic_id=422358 */ #define GL_GLEXT_PROTOTYPES - #include "clear_selection.h" +#include "../model/map_geometry.h" #include "../view/exp004state0.h" #include <GL/glut.h> #include "sqlca.h" @@ -40,6 +38,11 @@ clear_selection (void) sizeof (S.base_colors_data), S.base_colors_data, GL_STATIC_DRAW); + /* + * Rebuild the display list for the map. + */ + map_geometry (); + glutPostRedisplay (); return; |