Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_cycles.c
| Show First 20 Lines • Show All 936 Lines • ▼ Show 20 Lines | FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | ||||
| update_vector_math_node_cross_product_operator(ntree); | update_vector_math_node_cross_product_operator(ntree); | ||||
| update_vector_math_node_normalize_operator(ntree); | update_vector_math_node_normalize_operator(ntree); | ||||
| update_vector_math_node_average_operator(ntree); | update_vector_math_node_average_operator(ntree); | ||||
| } | } | ||||
| } | } | ||||
| FOREACH_NODETREE_END; | FOREACH_NODETREE_END; | ||||
| } | } | ||||
| if (!MAIN_VERSION_ATLEAST(bmain, 281, 4)) { | if (!MAIN_VERSION_ATLEAST(bmain, 281, 7)) { | ||||
| FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | ||||
| if (ntree->type == NTREE_SHADER) { | if (ntree->type == NTREE_SHADER) { | ||||
| update_noise_node_dimensions(ntree); | update_noise_node_dimensions(ntree); | ||||
| } | } | ||||
| } | } | ||||
| FOREACH_NODETREE_END; | FOREACH_NODETREE_END; | ||||
| } | } | ||||
| } | } | ||||