-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rename the repeat nodes to replace "Instance" terminology with "Repeat" #3794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| [package] | ||
| name = "repeat-nodes" | ||
| version = "0.1.0" | ||
| edition = "2024" | ||
| description = "Repeat operation nodes for Graphene" | ||
| authors = ["Graphite Authors <contact@graphite.art>"] | ||
| license = "MIT OR Apache-2.0" | ||
|
|
||
| [features] | ||
| default = ["serde"] | ||
|
|
||
| [dependencies] | ||
| # Local dependencies | ||
| core-types = { workspace = true } | ||
| vector-types = { workspace = true } | ||
| raster-types = { workspace = true } | ||
| node-macro = { workspace = true } | ||
| graphic-types = { workspace = true } | ||
|
|
||
| # Workspace dependencies | ||
| dyn-any = { workspace = true } | ||
| glam = { workspace = true } | ||
| log = { workspace = true } | ||
|
|
||
| # Optional workspace dependencies | ||
| serde = { workspace = true, optional = true } | ||
|
|
||
| [dev-dependencies] | ||
| graphene-core = { workspace = true } | ||
| vector-nodes = { workspace = true } | ||
| tokio = { workspace = true, features = ["macros", "rt"] } | ||
| kurbo = { workspace = true } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| pub mod repeat_nodes; | ||
|
|
||
| // Re-export for convenience | ||
| pub use core_types as gcore; | ||
| pub use graphic_types; | ||
| pub use raster_types; | ||
| pub use repeat_nodes::*; | ||
| pub use vector_types; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This loop can be made more idiomatic and slightly more efficient by using
extend.