Comment 19 for bug 1171109

Revision history for this message
insaner (insaner) wrote :

the attached patch prevents the crash, and resolves the duplicate identical gradients problem as well. ie, if you paste an object with gradients that have the same ids as gradients on the document, it will check them to see if they are equivalent, and if so, will not change the gradient id's in the pasted object.

issues remaining: this only does it for gradients, not filters, so each cut and paste creates a new identical filter. Maybe a new bug could be filed for that.

let me know if this solves it for you guys, and I will check in the changes.

as an aside, did someone remove my changes for Bug #1092313 ? I noticed the filter icon no longer appears.