add missing redraw notifier for separate UV operator, also some style cleanup and remove unused define.

This commit is contained in:
Campbell Barton
2012-10-15 03:17:10 +00:00
parent 04f063de84
commit ab86e9593b
3 changed files with 7 additions and 2 deletions

View File

@@ -55,7 +55,12 @@ struct Text;
#define SCE_COPY_LINK_DATA 3
#define SCE_COPY_FULL 4
#define SETLOOPER(_sce_basis, _sce_iter, _base) _sce_iter = _sce_basis, _base = _setlooper_base_step(&_sce_iter, NULL); _base; _base = _setlooper_base_step(&_sce_iter, _base)
/* Use as the contents of a 'for' loop: for (SETLOOPER(...)) { ... */
#define SETLOOPER(_sce_basis, _sce_iter, _base) \
_sce_iter = _sce_basis, _base = _setlooper_base_step(&_sce_iter, NULL); \
_base; \
_base = _setlooper_base_step(&_sce_iter, _base)
struct Base *_setlooper_base_step(struct Scene **sce_iter, struct Base *base);
void free_avicodecdata(struct AviCodecData *acd);

View File

@@ -2283,6 +2283,7 @@ static int select_split_exec(bContext *C, wmOperator *op)
}
if (change) {
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_IMAGE, NULL);
return OPERATOR_FINISHED;
}
else {

View File

@@ -45,7 +45,6 @@
#include "BoolValue.h"
#include "FloatValue.h"
#define KX_NUM_ITERATIONS 4
#include "RAS_BucketManager.h"
#include "RAS_Rect.h"
#include "RAS_IRasterizer.h"