Skip to content

Instance tables refactor part 3: flatten ImageFrame<P> in lieu of Image<P> - #2256

Merged
Keavon merged 3 commits into
masterfrom
instance-tables-pt3
Mar 2, 2025
Merged

Keavon merged 3 commits into
masterfrom
instance-tables-pt3

Conversation

@Keavon

@Keavon Keavon commented Feb 3, 2025

Copy link
Copy Markdown
Member

Part 3, partly closes #1834.

Flattens the one-field ImageFrame<P> struct, removing it to put Image<P> in its place.

This PR is based on top of #2249. The first commit in the chain of this PR's changes is b36f57f. This PR is blocked on that PR being merged first.

@Keavon Keavon changed the title Instance tables refactor part 3: Instance tables refactor part 3: flatten ImageFrame<P> in lieu of Image<P> Feb 3, 2025
@Keavon
Keavon marked this pull request as ready for review February 3, 2025 11:03
@Keavon Keavon mentioned this pull request Feb 3, 2025
9 tasks
@github-actions
github-actions Bot temporarily deployed to graphite-dev (Preview) February 3, 2025 11:06 Inactive
@Keavon
Keavon force-pushed the instance-tables-pt3 branch from b36f57f to 7b64c73 Compare February 3, 2025 11:22
@github-actions
github-actions Bot temporarily deployed to graphite-dev (Preview) February 3, 2025 11:42 Inactive
@github-actions
github-actions Bot temporarily deployed to graphite-dev (Preview) February 4, 2025 03:03 Inactive
@Keavon
Keavon force-pushed the instance-tables-pt3 branch from 39f98b1 to 7b64c73 Compare February 4, 2025 21:59
@github-actions
github-actions Bot temporarily deployed to graphite-dev (Preview) February 4, 2025 22:03 Inactive
@Keavon
Keavon marked this pull request as draft February 5, 2025 06:52
@Keavon
Keavon force-pushed the instance-tables-pt3 branch from 7b64c73 to 1771b3c Compare March 2, 2025 08:53
@github-actions
github-actions Bot temporarily deployed to graphite-dev (Preview) March 2, 2025 09:07 Inactive
@Keavon
Keavon marked this pull request as ready for review March 2, 2025 09:09
@Keavon

Keavon commented Mar 2, 2025

Copy link
Copy Markdown
Member Author

Merging with one known issue:

capture

This occurs while upgrading a previous document that contains Brush tool strokes. It doesn't seem to actually affect things, except for the fact that it alters the bounding box of the brush strokes to extend to the origin. After saving and reloading the upgraded document, that remains true but the console error doesn't return. Since brushes are not fully supported and usage is likely to be rare, I'm not going to investigate and try to fix this.

@github-actions
github-actions Bot temporarily deployed to graphite-dev (Preview) March 2, 2025 09:27 Inactive
@Keavon
Keavon force-pushed the instance-tables-pt3 branch from cb1dbdf to 39cf18d Compare March 2, 2025 09:31
@github-actions
github-actions Bot temporarily deployed to graphite-dev (Preview) March 2, 2025 09:42 Inactive
@Keavon
Keavon merged commit 9ae6562 into master Mar 2, 2025
@Keavon
Keavon deleted the instance-tables-pt3 branch March 2, 2025 10:09
Keavon added a commit that referenced this pull request Mar 6, 2025
…ge<P> (#2256)

* Remove ImageFrame<T> by flattening it into Image<T>

* Rename TextureFrame to ImageTexture

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracking Issue: Instances tables

1 participant