diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-08-11 06:43:24 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-08-11 06:43:24 +0000 |
| commit | 19117c36082531a00df461260f917d1207edde1f (patch) | |
| tree | 4670bf8aef55b561c790e6498e8ad88592a83d75 /src/snap.h | |
| parent | Implement constrained snapping to nodes (diff) | |
| download | inkscape-19117c36082531a00df461260f917d1207edde1f.tar.gz inkscape-19117c36082531a00df461260f917d1207edde1f.zip | |
Clear pointers in the snapmanager if they're no longer needed.
(bzr r9697)
Diffstat (limited to 'src/snap.h')
| -rw-r--r-- | src/snap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/snap.h b/src/snap.h index c85c51963..9a99cea07 100644 --- a/src/snap.h +++ b/src/snap.h @@ -98,6 +98,12 @@ public: std::vector<Inkscape::SnapCandidatePoint> *unselected_nodes = NULL, SPGuide *guide_to_ignore = NULL); + void unSetup() {_rotation_center_source_item = NULL; + _guide_to_ignore = NULL; + _desktop = NULL; + _named_view = NULL; + _unselected_nodes = NULL;} + // If we're dragging a rotation center, then setRotationCenterSource() stores the parent item // of this rotation center; this reference is used to make sure that we do not snap a rotation // center to itself |
