Fix axial button click crash

This commit is contained in:
Pan7 2017-03-12 03:25:26 +01:00
parent d91edda475
commit 74a1d9bc17

View file

@ -1502,6 +1502,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 );
}