| 4881 | } |
| 4882 | |
| 4883 | void |
| 4884 | EffectInstance::aboutToRestoreDefaultValues() |
| 4885 | { |
| 4886 | ///Invalidate the cache by incrementing the age |
| 4887 | NodePtr node = getNode(); |
| 4888 | |
| 4889 | node->incrementKnobsAge(); |
| 4890 | |
| 4891 | if ( node->areKeyframesVisibleOnTimeline() ) { |
| 4892 | node->hideKeyframesFromTimeline(true); |
| 4893 | } |
| 4894 | } |
| 4895 | |
| 4896 | /** |
| 4897 | * @brief Returns a pointer to the first non disabled upstream node. |
nothing calls this directly
no test coverage detected