| 987 | } |
| 988 | |
| 989 | bool transformIsEmpty(const ConstTransformRcPtr & tr) |
| 990 | { |
| 991 | if (tr->getTransformType() == TRANSFORM_TYPE_GROUP) |
| 992 | { |
| 993 | ConstGroupTransformRcPtr gt = DynamicPtrCast<const GroupTransform>(tr); |
| 994 | if (gt->getNumTransforms() == 0) |
| 995 | { |
| 996 | return true; |
| 997 | } |
| 998 | } |
| 999 | return false; |
| 1000 | } |
| 1001 | |
| 1002 | // Update the reference space used by a color space's transforms. |
| 1003 | // The argument is a group transform that converts from the current to the new ref. space. |
no test coverage detected