Commit b409fc4a authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix flickering when transforming a shape layer without IP enabled

parent 627d7405
......@@ -47,6 +47,7 @@
#include "kis_undo_stores.h"
#include "kis_transparency_mask.h"
#include "commands_new/KisDisableDirtyRequestsCommand.h"
#include <kis_shape_layer.h>
struct InplaceTransformStrokeStrategy::Private
......@@ -602,6 +603,12 @@ void InplaceTransformStrokeStrategy::transformNode(KisNodeSP node, const ToolTra
executeAndAddCommand(cmd, Transform, KisStrokeJobData::CONCURRENT);
/// we should make sure that the asynchronous shape regeneration
/// has completed before we issue the updates a bit later
if (KisShapeLayer *shapeLayer = dynamic_cast<KisShapeLayer*>(extLayer)) {
shapeLayer->forceUpdateTimedNode();
}
/**
* Shape layer's projection may not be yet ready right
* after transformation, because it need to do that in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment