Bugfix #7051: Stars' preview doesn't update in real time.

Added a new event code (B_WORLDPRV2) that forces an update of the world buttons-window preview AND the 3d-view, instead of having only one of the two getting updated (with REDRAWVIEW3D or REDRAWBUTSSHADING)
This commit is contained in:
2007-08-19 06:13:19 +00:00
parent 242413fa57
commit dbef15f99e
2 changed files with 21 additions and 13 deletions

View File

@@ -209,6 +209,9 @@ void curvemap_buttons(struct uiBlock *block, struct CurveMapping *cumap, char la
#define B_MAT_VCOL_PAINT 1222
#define B_MAT_VCOL_LIGHT 1223
/* world buttons: buttons-preview update, and redraw 3dview */
#define B_WORLDPRV2 1224
/* *********************** */
#define B_TEXBUTS 1400