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 1,291 Lines • ▼ Show 20 Lines | static void rna_Node_init(const bContext *C, PointerRNA *ptr) | ||||
| func = &rna_Node_init_func; /* RNA_struct_find_function(&ptr, "init"); */ | func = &rna_Node_init_func; /* RNA_struct_find_function(&ptr, "init"); */ | ||||
| RNA_parameter_list_create(&list, ptr, func); | RNA_parameter_list_create(&list, ptr, func); | ||||
| node->typeinfo->ext.call((bContext *)C, ptr, func, &list); | node->typeinfo->ext.call((bContext *)C, ptr, func, &list); | ||||
| RNA_parameter_list_free(&list); | RNA_parameter_list_free(&list); | ||||
| } | } | ||||
| static void rna_Node_copy(PointerRNA *ptr, struct bNode *copynode) | static void rna_Node_copy(PointerRNA *ptr, const struct bNode *copynode) | ||||
| { | { | ||||
| extern FunctionRNA rna_Node_copy_func; | extern FunctionRNA rna_Node_copy_func; | ||||
| bNode *node = (bNode *)ptr->data; | bNode *node = (bNode *)ptr->data; | ||||
| ParameterList list; | ParameterList list; | ||||
| FunctionRNA *func; | FunctionRNA *func; | ||||
| func = &rna_Node_copy_func; /* RNA_struct_find_function(&ptr, "copy"); */ | func = &rna_Node_copy_func; /* RNA_struct_find_function(&ptr, "copy"); */ | ||||
| ▲ Show 20 Lines • Show All 7,944 Lines • Show Last 20 Lines | |||||