| 958 | } |
| 959 | |
| 960 | RectD |
| 961 | Effect::getRegionOfDefinition(double time, |
| 962 | int view) const |
| 963 | { |
| 964 | RectD rod; |
| 965 | |
| 966 | if ( !getInternalNode() || !getInternalNode()->getEffectInstance() ) { |
| 967 | return rod; |
| 968 | } |
| 969 | U64 hash = getInternalNode()->getHashValue(); |
| 970 | RenderScale s(1.); |
| 971 | bool isProject; |
| 972 | StatusEnum stat = getInternalNode()->getEffectInstance()->getRegionOfDefinition_public(hash, time, s, ViewIdx(view), &rod, &isProject); |
| 973 | if (stat != eStatusOK) { |
| 974 | return RectD(); |
| 975 | } |
| 976 | |
| 977 | return rod; |
| 978 | } |
| 979 | |
| 980 | void |
| 981 | Effect::setSubGraphEditable(bool editable) |
no test coverage detected