Rename the 'Index' node to 'Index Elements'
This commit is contained in:
parent
0998abdaf3
commit
055d543117
|
|
@ -78,8 +78,8 @@ const NODE_REPLACEMENTS: &[NodeReplacement<'static>] = &[
|
||||||
aliases: &["graphene_core::graphic_element::FlattenVectorNode"],
|
aliases: &["graphene_core::graphic_element::FlattenVectorNode"],
|
||||||
},
|
},
|
||||||
NodeReplacement {
|
NodeReplacement {
|
||||||
node: graphene_std::graphic::index::IDENTIFIER,
|
node: graphene_std::graphic::index_elements::IDENTIFIER,
|
||||||
aliases: &["graphene_core::graphic_element::IndexNode"],
|
aliases: &["graphene_core::graphic_element::IndexNode", "graphene_core::graphic::IndexNode"],
|
||||||
},
|
},
|
||||||
// math_nodes
|
// math_nodes
|
||||||
NodeReplacement {
|
NodeReplacement {
|
||||||
|
|
|
||||||
|
|
@ -443,7 +443,7 @@ async fn flatten_vector(_: impl Ctx, content: Table<Graphic>) -> Table<Vector> {
|
||||||
/// Returns the value at the specified index in the collection.
|
/// Returns the value at the specified index in the collection.
|
||||||
/// If that index has no value, the type's default value is returned.
|
/// If that index has no value, the type's default value is returned.
|
||||||
#[node_macro::node(category("General"))]
|
#[node_macro::node(category("General"))]
|
||||||
fn index<T: AtIndex + Clone + Default>(
|
fn index_elements<T: AtIndex + Clone + Default>(
|
||||||
_: impl Ctx,
|
_: impl Ctx,
|
||||||
/// The collection of data, such as a list or table.
|
/// The collection of data, such as a list or table.
|
||||||
#[implementations(
|
#[implementations(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue