| 2962 | } // ViewerInstance::ViewerInstancePrivate::updateViewer |
| 2963 | |
| 2964 | bool |
| 2965 | ViewerInstance::isInputOptional(int n) const |
| 2966 | { |
| 2967 | //activeInput() is MT-safe |
| 2968 | int activeInputs[2]; |
| 2969 | |
| 2970 | getActiveInputs(activeInputs[0], activeInputs[1]); |
| 2971 | |
| 2972 | if ( (n == 0) && (activeInputs[0] == -1) && (activeInputs[1] == -1) ) { |
| 2973 | return false; |
| 2974 | } |
| 2975 | |
| 2976 | return n != activeInputs[0] && n != activeInputs[1]; |
| 2977 | } |
| 2978 | |
| 2979 | void |
| 2980 | ViewerInstance::onGammaChanged(double value) |
no outgoing calls
no test coverage detected