i am using imageViewer tool with some changes and i am drawing line on it, but i dont want to add the imageViewer filters on the line.
When i say imageViewer.addChild(lineTool); all the filters thet the imageViewer has is effecting the lineTool too. I dont want that. Is there a way that i can use for to solve my problem.
I tried to set
lineTool.filters = null;
after added to viewer. But didnt work.
This must be a bug. I cant modify an object without modifying its parent, what kind of programming is that ? I am taking the object as lineTool and i am not able to set filters to it, but when i set filters to its parent child component directly taking the filters. Thats really funny. There must be a parameter or something for that. I dont want to inherit parents filters to the child. I didnt see anything like this before.