Merge pull request #430 from Pan7/axialcrash

Fix axial button click crash
This commit is contained in:
Timothee "TTimo" Besset 2017-03-12 12:43:03 -05:00 committed by GitHub
commit 044c0b6156

View file

@ -1515,6 +1515,8 @@ static void on_axial_button_clicked( GtkButton *button, gpointer user_data ){
}
}
SetTexdef_FaceList( get_texdef_face_list(), FALSE, TRUE );
if ( !texdef_face_list_empty() ) {
SetTexdef_FaceList( get_texdef_face_list(), FALSE, TRUE );
}
Sys_UpdateWindows( W_ALL );
}