[gimp/soc-2010-cage-2] Bug 598253 - Bug when copying path from a document to another document
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage-2] Bug 598253 - Bug when copying path from a document to another document
- Date: Thu, 30 Dec 2010 18:13:11 +0000 (UTC)
commit 8a4380a75b7616e24166568d57f756272e2d89b3
Author: Michael Natterer <mitch gimp org>
Date: Sat Nov 27 22:28:34 2010 +0100
Bug 598253 - Bug when copying path from a document to another document
Don't scale the SVG to image size when pasting or importing. SVGs have
a size just as pixel images, and there is no reason not to use that
size as-is.
app/actions/edit-commands.c | 2 +-
app/actions/vectors-commands.c | 2 +-
app/display/gimpdisplayshell-dnd.c | 2 +-
app/widgets/gimpvectorstreeview.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/actions/edit-commands.c b/app/actions/edit-commands.c
index 37e9b16..31fac96 100644
--- a/app/actions/edit-commands.c
+++ b/app/actions/edit-commands.c
@@ -498,7 +498,7 @@ edit_paste (GimpDisplay *display,
if (svg)
{
if (gimp_vectors_import_buffer (image, svg, svg_size,
- TRUE, TRUE,
+ TRUE, FALSE,
GIMP_IMAGE_ACTIVE_PARENT, -1,
NULL, NULL))
{
diff --git a/app/actions/vectors-commands.c b/app/actions/vectors-commands.c
index fcb0294..5a6c1b5 100644
--- a/app/actions/vectors-commands.c
+++ b/app/actions/vectors-commands.c
@@ -480,7 +480,7 @@ vectors_paste_cmd_callback (GtkAction *action,
GError *error = NULL;
if (! gimp_vectors_import_buffer (image, svg, svg_size,
- TRUE, TRUE,
+ TRUE, FALSE,
GIMP_IMAGE_ACTIVE_PARENT, -1,
NULL, &error))
{
diff --git a/app/display/gimpdisplayshell-dnd.c b/app/display/gimpdisplayshell-dnd.c
index 23d90e4..d007640 100644
--- a/app/display/gimpdisplayshell-dnd.c
+++ b/app/display/gimpdisplayshell-dnd.c
@@ -305,7 +305,7 @@ gimp_display_shell_drop_svg (GtkWidget *widget,
if (! gimp_vectors_import_buffer (image,
(const gchar *) svg_data, svg_data_len,
- TRUE, TRUE,
+ TRUE, FALSE,
GIMP_IMAGE_ACTIVE_PARENT, -1,
NULL, &error))
{
diff --git a/app/widgets/gimpvectorstreeview.c b/app/widgets/gimpvectorstreeview.c
index 3d477ab..56df880 100644
--- a/app/widgets/gimpvectorstreeview.c
+++ b/app/widgets/gimpvectorstreeview.c
@@ -231,7 +231,7 @@ gimp_vectors_tree_view_drop_svg (GimpContainerTreeView *tree_view,
(GimpViewable **) &parent);
if (! gimp_vectors_import_buffer (image, svg_data, svg_data_len,
- TRUE, TRUE, parent, index, NULL, &error))
+ TRUE, FALSE, parent, index, NULL, &error))
{
gimp_message_literal (image->gimp,
G_OBJECT (tree_view), GIMP_MESSAGE_ERROR,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]