Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_nodes_evaluator.cc
| Context not available. | |||||
| new (r_value) Field<float3>(bke::AttributeFieldInput::Create<float3>("position")); | new (r_value) Field<float3>(bke::AttributeFieldInput::Create<float3>("position")); | ||||
| return; | return; | ||||
| } | } | ||||
| if (bnode.type == GEO_NODE_SET_CURVE_HANDLES) { | |||||
| StringRef side = ((NodeGeometrySetCurveHandlePositions *)bnode.storage)->mode == | |||||
| GEO_NODE_CURVE_HANDLE_LEFT ? | |||||
| "handle_left" : | |||||
| "handle_right"; | |||||
| new (r_value) Field<float3>(bke::AttributeFieldInput::Create<float3>(side)); | |||||
| return; | |||||
| } | |||||
| } | } | ||||
| else if (bsocket.type == SOCK_INT) { | else if (bsocket.type == SOCK_INT) { | ||||
| if (ELEM(bnode.type, FN_NODE_RANDOM_VALUE, GEO_NODE_INSTANCE_ON_POINTS)) { | if (ELEM(bnode.type, FN_NODE_RANDOM_VALUE, GEO_NODE_INSTANCE_ON_POINTS)) { | ||||
| Context not available. | |||||