Skip to content

Commit 055d543

Browse files
committed
Rename the 'Index' node to 'Index Elements'
1 parent 0998abd commit 055d543

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

editor/src/messages/portfolio/document_migration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ const NODE_REPLACEMENTS: &[NodeReplacement<'static>] = &[
7878
aliases: &["graphene_core::graphic_element::FlattenVectorNode"],
7979
},
8080
NodeReplacement {
81-
node: graphene_std::graphic::index::IDENTIFIER,
82-
aliases: &["graphene_core::graphic_element::IndexNode"],
81+
node: graphene_std::graphic::index_elements::IDENTIFIER,
82+
aliases: &["graphene_core::graphic_element::IndexNode", "graphene_core::graphic::IndexNode"],
8383
},
8484
// math_nodes
8585
NodeReplacement {

node-graph/gcore/src/graphic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ async fn flatten_vector(_: impl Ctx, content: Table<Graphic>) -> Table<Vector> {
443443
/// Returns the value at the specified index in the collection.
444444
/// If that index has no value, the type's default value is returned.
445445
#[node_macro::node(category("General"))]
446-
fn index<T: AtIndex + Clone + Default>(
446+
fn index_elements<T: AtIndex + Clone + Default>(
447447
_: impl Ctx,
448448
/// The collection of data, such as a list or table.
449449
#[implementations(

0 commit comments

Comments
 (0)