made the preview update correctly when switching the actual material
authorRob Haarsma <phaseIV@zonnet.nl>
Sun, 4 May 2003 12:38:44 +0000 (12:38 +0000)
committerRob Haarsma <phaseIV@zonnet.nl>
Sun, 4 May 2003 12:38:44 +0000 (12:38 +0000)
source/blender/src/buttons.c

index d37824af943dd8293dd50199df4dd7a9babd6e78..baf57f5d38476c3b0a055a410aa4177512f79c93 100644 (file)
@@ -4015,7 +4015,7 @@ void do_matbuts(unsigned short event)
                scrarea_queue_headredraw(curarea);
                allqueue(REDRAWBUTSMAT, 0);
                allqueue(REDRAWIPO, 0);
-               BIF_previewdraw(G.buts);
+               BIF_preview_changed(G.buts);
                break;
        case B_MATFROM: