MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / onSetSupportRenderScaleMaybeSet

Method onSetSupportRenderScaleMaybeSet

Engine/Node.cpp:2606–2616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2604}
2605
2606void
2607Node::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
2618bool
2619Node::useScaleOneImagesWhenRenderScaleSupportIsDisabled() const

Callers 1

Calls 3

setSecretByDefaultMethod · 0.80
lockMethod · 0.45
setSecretMethod · 0.45

Tested by

no test coverage detected