diff options
Diffstat (limited to 'src/object')
| -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); |
