Code

By default 'snap to object nodes/paths' must be off
authordvlierop2 <dvlierop2@users.sourceforge.net>
Tue, 17 Apr 2007 06:36:31 +0000 (06:36 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Tue, 17 Apr 2007 06:36:31 +0000 (06:36 +0000)
src/sp-namedview.cpp

index d831a50eb4f2dd969094cd31aa92345d8d7aef9d..c3a1c58ad8b2da66da4d05b351568c48ccd13c3f 100644 (file)
@@ -372,11 +372,11 @@ static void sp_namedview_set(SPObject *object, unsigned int key, const gchar *va
             break;
 */
         case SP_ATTR_INKSCAPE_OBJECT_PATHS:
-            nv->snap_manager.object.setSnapToPaths(value ? sp_str_to_bool(value) : TRUE);
+            nv->snap_manager.object.setSnapToPaths(value ? sp_str_to_bool(value) : FALSE);
             object->requestModified(SP_OBJECT_MODIFIED_FLAG);
             break;
         case SP_ATTR_INKSCAPE_OBJECT_NODES:
-            nv->snap_manager.object.setSnapToNodes(value ? sp_str_to_bool(value) : TRUE);
+            nv->snap_manager.object.setSnapToNodes(value ? sp_str_to_bool(value) : FALSE);
             object->requestModified(SP_OBJECT_MODIFIED_FLAG);
             break;
        case SP_ATTR_INKSCAPE_CURRENT_LAYER: