gimp r26418 - in trunk: . app/core
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26418 - in trunk: . app/core
- Date: Thu, 7 Aug 2008 13:45:28 +0000 (UTC)
Author: neo
Date: Thu Aug 7 13:45:28 2008
New Revision: 26418
URL: http://svn.gnome.org/viewvc/gimp?rev=26418&view=rev
Log:
2008-08-07 Sven Neumann <sven gimp org>
* app/core/gimpselection.c (gimp_selection_extract): aded a
comment explaining why copy_region_nocow() is being used here.
Modified:
trunk/ChangeLog
trunk/app/core/gimpselection.c
Modified: trunk/app/core/gimpselection.c
==============================================================================
--- trunk/app/core/gimpselection.c (original)
+++ trunk/app/core/gimpselection.c Thu Aug 7 13:45:28 2008
@@ -753,10 +753,18 @@
else
{
/* Otherwise, do a straight copy */
- if (! GIMP_IS_DRAWABLE (pickable))
- copy_region_nocow (&srcPR, &destPR);
+ if (GIMP_IS_DRAWABLE (pickable))
+ {
+ copy_region (&srcPR, &destPR);
+ }
else
- copy_region (&srcPR, &destPR);
+ {
+ /* There's a bug that shows up when shared tiles are
+ * invalidated. So we don't copy-on-write from the
+ * projection.
+ */
+ copy_region_nocow (&srcPR, &destPR);
+ }
}
/* If we're cutting, remove either the layer (or floating selection),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]