index 9cfa39bd57b89e8fa10f14ac7d70db1597a61e72..9d3abae762e4f7138c43fb13a58179d43817537a 100644 (file)
#include "inkscape.h"
#include "desktop.h"
-#include "preferences.h"
#include "effect.h"
#include "implementation/implementation.h"
set_default_response(Gtk::RESPONSE_OK);
_button_ok->grab_focus();
- if (_effect != NULL) {
+ if (_effect != NULL && !_effect->no_live_preview) {
if (_param_preview == NULL) {
XML::Document * doc = sp_repr_read_mem(live_param_xml, strlen(live_param_xml), NULL);
_param_preview = Parameter::make(doc->root(), _effect);
#include "internal/clear-n_.h"
-const char * PrefDialog::live_param_xml = "<param name=\"__live_effect__\" type=\"boolean\" gui-text=\"" N_("Live Preview") "\" gui-description=\"" N_("Controls whether the effect settings are rendered live on canvas") "\" scope=\"user\">false</param>";
+const char * PrefDialog::live_param_xml = "<param name=\"__live_effect__\" type=\"boolean\" gui-text=\"" N_("Live preview") "\" gui-description=\"" N_("Is the effect previewed live on canvas?") "\" scope=\"user\">false</param>";
}; }; /* namespace Inkscape, Extension */