Commit ac280fc3ceeaf4d0bea7f27f9e4924f9961061c9
1 parent
6aa1dfcc
Add a correct simplify method for StreamTransform
Showing
1 changed file
with
5 additions
and
0 deletions
openbr/plugins/stream.cpp
| ... | ... | @@ -1722,6 +1722,11 @@ public: |
| 1722 | 1722 | return false; |
| 1723 | 1723 | } |
| 1724 | 1724 | |
| 1725 | + // Stream acts as a shallow interface to DirectStream, so it's fine to remove ourselves here | |
| 1726 | + Transform *simplify(bool &newTransform) | |
| 1727 | + { | |
| 1728 | + return basis->simplify(newTransform); | |
| 1729 | + } | |
| 1725 | 1730 | |
| 1726 | 1731 | private: |
| 1727 | 1732 | QSharedPointer<DirectStreamTransform> basis; | ... | ... |