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:
Thomas Dinges 2011-02-27 14:01:09 +00:00
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;
} }