Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_nodes_evaluator.cc
| Context not available. | |||||
| #include "FN_generic_value_map.hh" | #include "FN_generic_value_map.hh" | ||||
| #include "FN_multi_function.hh" | #include "FN_multi_function.hh" | ||||
| #include "BKE_geometry_set.hh" | |||||
| #include "BLT_translation.h" | #include "BLT_translation.h" | ||||
| #include "BLI_enumerable_thread_specific.hh" | #include "BLI_enumerable_thread_specific.hh" | ||||
| Context not available. | |||||
| new (r_value) Field<int>(std::make_shared<fn::IndexFieldInput>()); | new (r_value) Field<int>(std::make_shared<fn::IndexFieldInput>()); | ||||
| return; | return; | ||||
| } | } | ||||
| if (bsocket.type == SOCK_VECTOR && bnode.type == GEO_NODE_RAYCAST) { | |||||
| new (r_value) Field<float3>( | |||||
| std::make_shared<bke::AttributeFieldInput>("position", CPPType::get<float3>())); | |||||
| return; | |||||
| } | |||||
| } | } | ||||
| const bNodeSocketType *typeinfo = socket.typeinfo(); | const bNodeSocketType *typeinfo = socket.typeinfo(); | ||||
| typeinfo->get_geometry_nodes_cpp_value(*socket.bsocket(), r_value); | typeinfo->get_geometry_nodes_cpp_value(*socket.bsocket(), r_value); | ||||
| Context not available. | |||||