rollback the current command
| 266 | |
| 267 | // rollback the current command |
| 268 | void QueryCtx_Rollback(void) { |
| 269 | QueryCtx *ctx = _QueryCtx_GetCtx(); |
| 270 | ASSERT(ctx != NULL); |
| 271 | |
| 272 | Graph_ResetReservedNode(ctx->gc->g); |
| 273 | |
| 274 | if(ctx->undo_log == NULL) return; |
| 275 | |
| 276 | UndoLog_Rollback(&ctx->undo_log); |
| 277 | } |
| 278 | |
| 279 | // retrieve effects-buffer |
| 280 | EffectsBuffer *QueryCtx_GetEffectsBuffer(void) { |
no test coverage detected