Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_nodetree.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 3,579 Lines • ▼ Show 20 Lines | |||||
| static void rna_difference_matte_t2_set(PointerRNA *ptr, float value) | static void rna_difference_matte_t2_set(PointerRNA *ptr, float value) | ||||
| { | { | ||||
| bNode *node = (bNode *)ptr->data; | bNode *node = (bNode *)ptr->data; | ||||
| NodeChroma *chroma = node->storage; | NodeChroma *chroma = node->storage; | ||||
| chroma->t2 = value; | chroma->t2 = value; | ||||
| } | } | ||||
| /* Button Set Funcs for Matte Nodes */ | /* Button Set Functions for Matte Nodes */ | ||||
| static void rna_Matte_t1_set(PointerRNA *ptr, float value) | static void rna_Matte_t1_set(PointerRNA *ptr, float value) | ||||
| { | { | ||||
| bNode *node = (bNode *)ptr->data; | bNode *node = (bNode *)ptr->data; | ||||
| NodeChroma *chroma = node->storage; | NodeChroma *chroma = node->storage; | ||||
| chroma->t1 = value; | chroma->t1 = value; | ||||
| if (value < chroma->t2) { | if (value < chroma->t2) { | ||||
| ▲ Show 20 Lines • Show All 9,393 Lines • Show Last 20 Lines | |||||