| 2604 | } |
| 2605 | |
| 2606 | void |
| 2607 | Node::onSetSupportRenderScaleMaybeSet(int support) |
| 2608 | { |
| 2609 | if ( (EffectInstance::SupportsEnum)support == EffectInstance::eSupportsYes ) { |
| 2610 | KnobBoolPtr b = _imp->useFullScaleImagesWhenRenderScaleUnsupported.lock(); |
| 2611 | if (b) { |
| 2612 | b->setSecretByDefault(true); |
| 2613 | b->setSecret(true); |
| 2614 | } |
| 2615 | } |
| 2616 | } |
| 2617 | |
| 2618 | bool |
| 2619 | Node::useScaleOneImagesWhenRenderScaleSupportIsDisabled() const |
no test coverage detected