mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-18 15:14:43 -05:00
Rename SelectionRectangle to SelectionShape, make it have non-rectangular shape and multiple SelectionShapes can exist
- Create multiple selection rectangles - Merge them together if they intersect - Move the selections (without contents as of right now) - Gizmos are being drawn but they are not functional yet Code is very ugly.
This commit is contained in:
parent
2a086e3ea0
commit
f3fb98e068
10 changed files with 230 additions and 74 deletions
|
|
@ -84,6 +84,16 @@ _global_script_classes=[ {
|
|||
"language": "GDScript",
|
||||
"path": "res://src/Classes/Project.gd"
|
||||
}, {
|
||||
"base": "Reference",
|
||||
"class": "Selection",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/Classes/Selection.gd"
|
||||
}, {
|
||||
"base": "Polygon2D",
|
||||
"class": "SelectionShape",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/Tools/SelectionShape.gd"
|
||||
}, {
|
||||
"base": "Guide",
|
||||
"class": "SymmetryGuide",
|
||||
"language": "GDScript",
|
||||
|
|
@ -105,6 +115,8 @@ _global_script_class_icons={
|
|||
"PaletteColor": "",
|
||||
"Patterns": "",
|
||||
"Project": "",
|
||||
"Selection": "",
|
||||
"SelectionShape": "",
|
||||
"SymmetryGuide": ""
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue