[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Inserting flake shapes in Krita
From:       Sven Langkamp <sven.langkamp () gmail ! com>
Date:       2009-11-18 21:59:01
Message-ID: 478b087a0911181359x431b9ba8w889f47328f89c81f () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I ran into some issue with inserting flake shapes in Krita.

In Krita flake shapes can only be in a shape layer. When you insert a shape
into an image and there is no shape layer KisShapeController::addShape will
automatically create a new layer into which the shape gets inserted. That's
where the problem is: The shape gets reparented to the new shape layer, but
the KoShapeCreateCommand is still pointing to the old parent. This causes
https://bugs.kde.org/show_bug.cgi?id=212209 where redoing after undo doesn't
work anymore. I hope the explains the problem.

So the question is how to insert flake shapes where the parent of the shape
is created while the shape is inserted.


Sven

[Attachment #5 (text/html)]

Hi,<br><br>I ran into some issue with inserting flake shapes in Krita.<br><br>In \
Krita flake shapes can only be in a shape layer. When you insert a shape into an \
image and there is no shape layer KisShapeController::addShape will automatically \
create a new layer into which the shape gets inserted. That&#39;s where the problem \
is: The shape gets reparented to the new shape layer, but the KoShapeCreateCommand is \
still pointing to the old parent. This causes <a \
href="https://bugs.kde.org/show_bug.cgi?id=212209" \
target="_blank">https://bugs.kde.org/show_bug.cgi?id=212209</a> where redoing after \
undo doesn&#39;t work anymore. I hope the explains the problem.<br>

<br>So the question is how to insert flake shapes where the parent of the shape is \
created while the shape is inserted.<br><br><br>Sven<br><br>



_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic