Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/texture/nodes/node_texture_common.c
| Show All 38 Lines | |||||
| #include "node_texture_util.h" | #include "node_texture_util.h" | ||||
| #include "NOD_common.h" | #include "NOD_common.h" | ||||
| #include "node_common.h" | #include "node_common.h" | ||||
| #include "node_exec.h" | #include "node_exec.h" | ||||
| #include "RNA_access.h" | #include "RNA_access.h" | ||||
| #include "BPY_extern.h" | |||||
| static void copy_stack(bNodeStack *to, bNodeStack *from) | static void copy_stack(bNodeStack *to, bNodeStack *from) | ||||
| { | { | ||||
| if (to != from) { | if (to != from) { | ||||
| copy_v4_v4(to->vec, from->vec); | copy_v4_v4(to->vec, from->vec); | ||||
| to->data = from->data; | to->data = from->data; | ||||
| to->datatype = from->datatype; | to->datatype = from->datatype; | ||||
| /* tag as copy to prevent freeing */ | /* tag as copy to prevent freeing */ | ||||
| ▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines | |||||