index 7c5091c5412f5ed0ec75d2a96bf999fdd9f2607e..5d351884cdcfb8c3f232d4aaa457da62e7125f52 100644 (file)
--- a/src/sp-feturbulence.cpp
+++ b/src/sp-feturbulence.cpp
double read_num;
bool read_bool;
NR::FilterTurbulenceType read_type;
-
+
switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
-
+
case SP_ATTR_BASEFREQUENCY:
feTurbulence->baseFrequency.set(value);
//From SVG spec: If two <number>s are provided, the first number represents a base frequency in the X direction and the second value represents a base frequency in the Y direction. If one number is provided, then that value is used for both X and Y.
read_bool = sp_feTurbulence_read_stitchTiles(value);
if (read_bool != feTurbulence->stitchTiles){
feTurbulence->stitchTiles = read_bool;
- feTurbulence->updated = false;
+ feTurbulence->updated = false;
object->parent->requestModified(SP_OBJECT_MODIFIED_FLAG);
}
break;
read_type = sp_feTurbulence_read_type(value);
if (read_type != feTurbulence->type){
feTurbulence->type = read_type;
- feTurbulence->updated = false;
+ feTurbulence->updated = false;
object->parent->requestModified(SP_OBJECT_MODIFIED_FLAG);
}
break;
if (flags & SP_OBJECT_WRITE_EXT) {
if (repr) {
// is this sane?
- repr->mergeFrom(SP_OBJECT_REPR(object), "id");
+ //repr->mergeFrom(SP_OBJECT_REPR(object), "id");
} else {
repr = SP_OBJECT_REPR(object)->duplicate(NULL); // FIXME
}