diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-12-03 19:56:21 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-12-03 19:56:21 +0000 |
| commit | 057ce311f2142012e0d2dece0367edf78af2e2b5 (patch) | |
| tree | 788b173f38f2c026f9857f147713a6c6d4cd1267 /src | |
| parent | Update View README. (diff) | |
| download | inkscape-057ce311f2142012e0d2dece0367edf78af2e2b5.tar.gz inkscape-057ce311f2142012e0d2dece0367edf78af2e2b5.zip | |
Minor comment/alignment changes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/object/sp-item.cpp | 2 | ||||
| -rw-r--r-- | src/object/sp-item.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp index 6a9bd9615..d6d1bdf56 100644 --- a/src/object/sp-item.cpp +++ b/src/object/sp-item.cpp @@ -1193,7 +1193,7 @@ void SPItem::hide(unsigned int /*key*/) { void SPItem::invoke_hide(unsigned key) { - this->hide(key); + this->hide(key); SPItemView *ref = nullptr; SPItemView *v = display; diff --git a/src/object/sp-item.h b/src/object/sp-item.h index 7d9ecd44f..9b225a4bd 100644 --- a/src/object/sp-item.h +++ b/src/object/sp-item.h @@ -314,7 +314,10 @@ public: static unsigned int display_key_new(unsigned int numkeys); Inkscape::DrawingItem *invoke_show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags); + + // Removed item from display tree. void invoke_hide(unsigned int key); + void getSnappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs=nullptr) const; void adjust_pattern(/* Geom::Affine const &premul, */ Geom::Affine const &postmul, bool set = false, PatternTransform = TRANSFORM_BOTH); void adjust_gradient(/* Geom::Affine const &premul, */ Geom::Affine const &postmul, bool set = false); |
