diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2013-10-08 10:22:49 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2013-10-08 10:22:49 +0000 |
| commit | f5d74fe46345673252807be3b6812bbb0469e457 (patch) | |
| tree | 2dd29c409d36d5dbfbe008cfff774880fd310b3d /src/selection-chemistry.cpp | |
| parent | cppcheck (diff) | |
| download | inkscape-f5d74fe46345673252807be3b6812bbb0469e457.tar.gz inkscape-f5d74fe46345673252807be3b6812bbb0469e457.zip | |
Seamlessly switch between SVG circle, ellipse, and path (arc) elements while using the Circle, Ellipse, and Arc tool.
(bzr r12670)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 49a731b15..3a91f7b4d 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -1915,8 +1915,8 @@ static bool item_type_match (SPItem *i, SPItem *j) if ( SP_IS_RECT(i)) { return ( SP_IS_RECT(j) ); - } else if (SP_IS_GENERICELLIPSE(i) || SP_IS_ELLIPSE(i) || SP_IS_ARC(i) || SP_IS_CIRCLE(i)) { - return (SP_IS_GENERICELLIPSE(j) || SP_IS_ELLIPSE(j) || SP_IS_ARC(j) || SP_IS_CIRCLE(j)); + } else if (SP_IS_GENERICELLIPSE(i)) { + return (SP_IS_GENERICELLIPSE(j)); } else if (SP_IS_STAR(i) || SP_IS_POLYGON(i)) { return (SP_IS_STAR(j) || SP_IS_POLYGON(j)) ; |
