diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-02-08 15:40:25 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-02-08 15:40:25 +0000 |
| commit | 86891a9e442c81435c6d197cb09b3dc210643bc0 (patch) | |
| tree | 4952411fd6e526907d4241e8965e93c4f185500a /src/live_effects/parameter/array.h | |
| parent | refactor of pointwise base (diff) | |
| download | inkscape-86891a9e442c81435c6d197cb09b3dc210643bc0.tar.gz inkscape-86891a9e442c81435c6d197cb09b3dc210643bc0.zip | |
starting whith pointwise
(bzr r13645.1.7)
Diffstat (limited to 'src/live_effects/parameter/array.h')
| -rw-r--r-- | src/live_effects/parameter/array.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/live_effects/parameter/array.h b/src/live_effects/parameter/array.h index a600f0257..b93c7a617 100644 --- a/src/live_effects/parameter/array.h +++ b/src/live_effects/parameter/array.h @@ -93,7 +93,14 @@ protected: // separate items with pipe symbol str << " | "; } - str << vector[i]; + std::pair<int,Geom::satellite> pointwiseElement = dynamic_cast<std::pair<int,Geom::satellite> ><(_vector[i]); + if(pointwiseElement){ + str << vector[i].first; + str << " , "; + str << vector[i].second; + } else { + str << vector[i]; + } } } |
