diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-01-31 19:31:21 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-01-31 19:31:21 +0000 |
| commit | bb4d4442a7ec92e15c976689756aa9566cd2430e (patch) | |
| tree | 789234d2e031ad42cbf6cc3176cdfb49f811421c /src/ui/tool/node-tool.cpp | |
| parent | Adjust devlibs copied to dist directory in Windows build (diff) | |
| download | inkscape-bb4d4442a7ec92e15c976689756aa9566cd2430e.tar.gz inkscape-bb4d4442a7ec92e15c976689756aa9566cd2430e.zip | |
Add pref settings that control updating the display of paths when dragging
or transforming nodes them.
Fixed bugs:
- https://launchpad.net/bugs/380762
(bzr r9038)
Diffstat (limited to '')
| -rw-r--r-- | src/ui/tool/node-tool.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/tool/node-tool.cpp b/src/ui/tool/node-tool.cpp index 08d893855..0c4599e52 100644 --- a/src/ui/tool/node-tool.cpp +++ b/src/ui/tool/node-tool.cpp @@ -286,6 +286,8 @@ void ink_node_tool_setup(SPEventContext *ec) // read prefs before adding items to selection to prevent momentarily showing the outline sp_event_context_read(nt, "show_handles"); sp_event_context_read(nt, "show_outline"); + sp_event_context_read(nt, "live_outline"); + sp_event_context_read(nt, "live_objects"); sp_event_context_read(nt, "show_path_direction"); sp_event_context_read(nt, "show_transform_handles"); sp_event_context_read(nt, "single_node_transform_handles"); @@ -316,6 +318,12 @@ void ink_node_tool_set(SPEventContext *ec, Inkscape::Preferences::Entry *value) } else if (entry_name == "show_outline") { nt->show_outline = value->getBool(); nt->_multipath->showOutline(nt->show_outline); + } else if (entry_name == "live_outline") { + nt->live_outline = value->getBool(); + nt->_multipath->setLiveOutline(nt->live_outline); + } else if (entry_name == "live_objects") { + nt->live_objects = value->getBool(); + nt->_multipath->setLiveObjects(nt->live_objects); } else if (entry_name == "show_path_direction") { nt->show_path_direction = value->getBool(); nt->_multipath->showPathDirection(nt->show_path_direction); |
