diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-10-31 21:22:56 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-10-31 21:22:56 +0000 |
| commit | af4950e7c9ceb863e8daba3928eca71e33234dae (patch) | |
| tree | 75af2dd3fca698dfa59d42f0fbb4406fac8760a4 /src/ui/tool/node-tool.h | |
| parent | Fix pattern editing in the node editor. As a bonus, allow editing (diff) | |
| download | inkscape-af4950e7c9ceb863e8daba3928eca71e33234dae.tar.gz inkscape-af4950e7c9ceb863e8daba3928eca71e33234dae.zip | |
Only create / delete shape editors in the node tool when necessary.
(bzr r9868)
Diffstat (limited to 'src/ui/tool/node-tool.h')
| -rw-r--r-- | src/ui/tool/node-tool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tool/node-tool.h b/src/ui/tool/node-tool.h index 11652b535..39d04a183 100644 --- a/src/ui/tool/node-tool.h +++ b/src/ui/tool/node-tool.h @@ -12,7 +12,7 @@ #define SEEN_UI_TOOL_NODE_TOOL_H #include <memory> -#include <boost/ptr_container/ptr_vector.hpp> +#include <boost/ptr_container/ptr_map.hpp> #include <glib.h> #include <sigc++/sigc++.h> #include "event-context.h" @@ -42,7 +42,7 @@ typedef std::auto_ptr<Inkscape::UI::MultiPathManipulator> MultiPathPtr; typedef std::auto_ptr<Inkscape::UI::ControlPointSelection> CSelPtr; typedef std::auto_ptr<Inkscape::UI::Selector> SelectorPtr; typedef std::auto_ptr<Inkscape::UI::PathSharedData> PathSharedDataPtr; -typedef boost::ptr_vector<ShapeEditor> ShapeEditors; +typedef boost::ptr_map<SPItem*, ShapeEditor> ShapeEditors; struct InkNodeTool : public SPEventContext { |
