Geometry Nodes: Change point translate and scale node defaults
Since these nodes are usually used for more basic operations and the attribute nodes are used when more complexity is necessary, it makes sense to give these nodes more accessible defaults-- hopefully this can make learning about the core concepts of geometry nodes a bit easier.
This commit is contained in:
parent
8bd0bde012
commit
bd9c479475
|
@ -86,7 +86,7 @@ static void geo_node_point_scale_init(bNodeTree *UNUSED(tree), bNode *node)
|
|||
NodeGeometryPointScale *data = (NodeGeometryPointScale *)MEM_callocN(
|
||||
sizeof(NodeGeometryPointScale), __func__);
|
||||
|
||||
data->input_type = GEO_NODE_ATTRIBUTE_INPUT_ATTRIBUTE;
|
||||
data->input_type = GEO_NODE_ATTRIBUTE_INPUT_VECTOR;
|
||||
node->storage = data;
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ static void geo_node_point_translate_init(bNodeTree *UNUSED(tree), bNode *node)
|
|||
NodeGeometryPointTranslate *data = (NodeGeometryPointTranslate *)MEM_callocN(
|
||||
sizeof(NodeGeometryPointTranslate), __func__);
|
||||
|
||||
data->input_type = GEO_NODE_ATTRIBUTE_INPUT_ATTRIBUTE;
|
||||
data->input_type = GEO_NODE_ATTRIBUTE_INPUT_VECTOR;
|
||||
node->storage = data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue