- String value;
-
- if(settings.get_value("smooth_move.radius",value))
- set_radius(atof(value.c_str()));
- else
- set_radius(1.0f);
+ try
+ {
+ SETTINGS_LOCALE_SAFE_AND_BACKUP
+ String value;
+
+ if(settings.get_value("smooth_move.radius",value))
+ set_radius(atof(value.c_str()));
+ else
+ set_radius(1.0f);
+ SETTINGS_LOCALE_RESTORE
+ }
+ catch(...)
+ {
+ synfig::warning("State SmothMove: Caught exception when attempting to load settings.");
+ }