-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/selection_from_db.sqc b/src/controller/selection_from_db.sqc index 8c12c79..ccefa4a 100644 --- a/src/controller/selection_from_db.sqc +++ b/src/controller/selection_from_db.sqc @@ -1,5 +1,6 @@ #define GL_GLEXT_PROTOTYPES #include "selection_from_db.h" +#include "../model/map_geometry.h" #include "../view/exp004state0.h" #include "../util/check_error.h" #include <GL/glut.h> @@ -62,6 +63,11 @@ selection_from_db (void) sizeof (S.base_colors_data), S.base_colors_data, GL_STATIC_DRAW); + /* + * Rebuild the display list. + */ + map_geometry (); + glutPostRedisplay (); return; |