forked from bartvdbraak/blender
2.5 Transform Operator:
* Added a NC_OBJECT|ND_TRANSFORM notifier to it, so we get a refresh when using the operator from python console. Issue reported by calli in IRC.
This commit is contained in:
parent
b51fb00654
commit
4ab33ae859
@ -369,6 +369,8 @@ static int transform_exec(bContext *C, wmOperator *op)
|
|||||||
transformEnd(C, t);
|
transformEnd(C, t);
|
||||||
|
|
||||||
transformops_exit(C, op);
|
transformops_exit(C, op);
|
||||||
|
|
||||||
|
WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL);
|
||||||
|
|
||||||
return OPERATOR_FINISHED;
|
return OPERATOR_FINISHED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user