Keavon Chambers
78a1bb17cd
Move selected node list from DocumentMetadata to the document ( #1565 )
2024-01-13 04:52:47 -08:00
Keavon Chambers
aab0fcf84c
Update graph UI and improve simplicity and robustness of sending graph and layer panel updates ( #1564 )
...
* WIP
* Fix loading the structure of layers
* Fix broken indents
* Remove debugging stuff
* Fix displaying errors and node graph UI fixes/improvements
* Fix compilation failure
---------
Co-authored-by: 0hypercube <0hypercube@gmail.com >
2024-01-13 04:15:36 -08:00
Keavon Chambers
92203f3576
Remove the whole document-legacy crate ( #1524 )
...
Remove the whole document-legacy crate
Closes #1520
2023-12-20 05:45:54 -08:00
0HyperCube
b2ca643e6e
Fix transforms, Brush tool, and G/R/S ( #1473 )
...
* Transform fixes
* Fix the desert artwork
* Change artboard icon
* Better handling when transforming brush strokes
* Code review pass
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-11-26 20:54:06 -08:00
Keavon Chambers
605c0de392
Fix Rust code lints ( #1448 )
...
* Fix Rust lints to satisfy Clippy
* Remove some unused commented out code
2023-11-05 13:52:00 -08:00
0HyperCube
5827e989dc
Migrate the Select tool to the document graph ( #1433 )
...
* function for accessing document metadata
* Better select tool
* Fix render
* Fix transforms
* Fix loading saved documents
* Populate graph UI when loading autosave
* Multiple transform nodes
* Fix deep select
* Graph tooltips
* Fix flip axis icon
* Show disabled widgets
* Stop select tool from selecting artboards
* Disable (not hide) the pivot widget; remove Deep/Shallow select for now
* Code review changes
* Fix pivot position with select tool
* Fix incorrectly selected layers when shift clicking
---------
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-10-17 11:09:32 -07:00
hypercube
0d6bec837b
Fix path tool
2023-10-17 11:02:06 -07:00
0hypercube
4cd72edb64
Initial work migrating vector layers to document graph
...
* Fix pen tool (except overlays)
* Thumbnail of only the layer and not the composite
* Fix occasional transform breakages
* Constrain size of thumbnail
* Insert new layers at the top
* Broken layer tree
* Fix crash when drawing
* Reduce calls to send graph
* Reduce calls to updating properties
* Store cached transforms upon the document
* Fix missing node UI updates
* Fix fill tool and clean up imports and indentation
* Error on overide existing layer
* Fix pen tool (partially)
* Fix some lints
2023-10-17 11:02:06 -07:00
Dennis Kobert
1020eb6835
Implement the Brush without relying on a stamp texture
...
Test Plan: Test the BrushNode in the editor
Reviewers: Keavon
Reviewed By: Keavon
Pull Request: https://github.com/GraphiteEditor/Graphite/pull/1184
2023-04-29 01:31:14 +02:00
Keavon Chambers
dcabd6c0b4
Refactor naming to deprecate "node graph frame" terminology ( #1187 )
2023-04-28 01:30:47 -07:00
Keavon Chambers
3f17207a32
Replace responses.push() with responses.add() everywhere ( #1186 )
2023-04-27 17:25:19 -07:00
OllieDolan
974a37f127
Path tool points manipulation: nudging, drag axis snapping, and G/R/S ( #1068 )
...
* issue820: implemented nudging points
* nudge points triggered only when the mouse is moved after selecting one point
* issue 820 // bullet 1 done
* grab working / rotate not
* rotate works (sensitive)
* G/R/S and Shift/Drag working
* Cargo formatted // implemented Hypercubes comments
* Refactored G/R/S - need to fix fast transform
* Finished refactored G/R/S
* Typed Angle needs further touch up
* Cargo formatted
* Dealt with dangerous unwraps
* Cargo fmt (again) - unwraps fixed
* Cleaned up
* cargo fmt
* Ready for Review
* Ready for Review- cargo fmt
* Code review fixes
* Remove duplicate constant for nudging
* Fix consts.rs spacing
* Apply suggestions from code review
Added suggestions
Co-authored-by: Keavon Chambers <keavon@keavon.com >
* Added typo/grammar suggestions
* Nits
---------
Co-authored-by: Shiro <shiro@damedane.local >
Co-authored-by: hypercube <0hypercube@gmail.com >
Co-authored-by: 0HyperCube <78500760+0HyperCube@users.noreply.github.com >
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-04-16 15:56:52 -07:00
Keavon Chambers
1b50878f3f
Prevent rendering when transforming frame layer
...
Reduces confusion from rendering lag and lessens the opportunity to build up leaked memory from the present lack of node graph cache eviction
2023-04-06 11:53:12 -07:00
0HyperCube
d710285029
Fix regressions introduced in the vector nodes migration ( #1100 )
...
* Fix double click to enter path tool
* Fix error
* Fix transform bug
* Fix squaring scale on images
* Shift node position and refresh graph
* Downscale node seperate
* Fix mirror
* Remove duplicate transform
* Always show node graph
* Correctly set freehand and spline tool positions
* Run cargo format
* Maybe fix the scale
* Downscaled image is always smaller than origional
* Fix one crash
* Don't show node graph on welcome screen
* Reduce default graph panel height
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-03-31 21:15:49 +01:00
Keavon Chambers
d6ab417bcb
Code review previous commit, and improve G/R/S hints
2023-03-26 11:49:25 -07:00
0HyperCube
959e790cdf
Migrate vector data and tools to use nodes ( #1065 )
...
* Add rendering to vector nodes
* Add line, shape, rectange and freehand tool
* Fix transforms, strokes and fills
* Migrate spline tool
* Remove blank lines
* Fix test
* Fix fill in properties
* Select layers when filling
* Properties panel transform around pivot
* Fix select tool outlines
* Select tool modifies node graph pivot
* Add the pivot assist to the properties
* Improve setting non existant fill UX
* Cleanup hash function
* Path and pen tools
* Bug fixes
* Disable boolean ops
* Fix default handle smoothing on ellipses
* Fix test and warnings
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-03-26 08:03:51 +01:00
0HyperCube
c32010071e
Move G/R/S to tools folder ( #1076 )
...
* Move G/R/S to tools folder
* Fix bad cache
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-03-10 23:06:31 +00:00