mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 09:09:47 +00:00
Added Lanczos scaling interpolation
Only works with Godot 3.2. If you're using 3.1.x and below this will NOT work!
This commit is contained in:
parent
8b5f505a1f
commit
49005e7425
|
@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
- Translators can now be seen in the About window.
|
- Translators can now be seen in the About window.
|
||||||
- It is now possible to remove custom brushes with the middle mouse button.
|
- It is now possible to remove custom brushes with the middle mouse button.
|
||||||
- Added HSV mode to the color picker. (Added automatically because of the Godot 3.2 update)
|
- Added HSV mode to the color picker. (Added automatically because of the Godot 3.2 update)
|
||||||
|
- Lanczos scaling interpolation. (Added because of the Godot 3.2 update)
|
||||||
|
|
||||||
## Changed
|
## Changed
|
||||||
- Updates to the Greek, Russian and Traditional Chinese translations.
|
- Updates to the Greek, Russian and Traditional Chinese translations.
|
||||||
|
|
|
@ -24,7 +24,7 @@ margin_left = 8.0
|
||||||
margin_top = 8.0
|
margin_top = 8.0
|
||||||
margin_right = 507.0
|
margin_right = 507.0
|
||||||
margin_bottom = 312.0
|
margin_bottom = 312.0
|
||||||
text = "Export current frame"
|
text = "EXPORT_CURRENT_FRAME_LABEL"
|
||||||
items = [ "EXPORT_CURRENT_FRAME_LABEL", null, false, 0, null, "EXPORT_FRAMES_AS_MULTIPLE_FILES_LABEL", null, false, 1, null, "EXPORT_FRAMES_AS_SPRITESHEET_LABEL", null, false, 2, null ]
|
items = [ "EXPORT_CURRENT_FRAME_LABEL", null, false, 0, null, "EXPORT_FRAMES_AS_MULTIPLE_FILES_LABEL", null, false, 1, null, "EXPORT_FRAMES_AS_SPRITESHEET_LABEL", null, false, 2, null ]
|
||||||
selected = 0
|
selected = 0
|
||||||
|
|
||||||
|
@ -60,10 +60,10 @@ text = "Interpolation:"
|
||||||
|
|
||||||
[node name="Interpolation" type="OptionButton" parent="Resize"]
|
[node name="Interpolation" type="OptionButton" parent="Resize"]
|
||||||
margin_left = 219.0
|
margin_left = 219.0
|
||||||
margin_right = 310.0
|
margin_right = 298.0
|
||||||
margin_bottom = 304.0
|
margin_bottom = 304.0
|
||||||
text = "Nearest"
|
text = "Nearest"
|
||||||
items = [ "Nearest", null, false, 0, null, "Bilinear", null, false, 1, null, "Cubic", null, false, 2, null, "Trilinear", null, false, 3, null, "Lanczos", null, true, 4, null ]
|
items = [ "Nearest", null, false, 0, null, "Bilinear", null, false, 1, null, "Cubic", null, false, 2, null, "Trilinear", null, false, 3, null, "Lanczos", null, false, 4, null ]
|
||||||
selected = 0
|
selected = 0
|
||||||
|
|
||||||
[node name="Spritesheet" type="HBoxContainer" parent="."]
|
[node name="Spritesheet" type="HBoxContainer" parent="."]
|
||||||
|
|
|
@ -11,7 +11,7 @@ script = ExtResource( 1 )
|
||||||
margin_left = 8.0
|
margin_left = 8.0
|
||||||
margin_top = 8.0
|
margin_top = 8.0
|
||||||
margin_right = 192.0
|
margin_right = 192.0
|
||||||
margin_bottom = 78.0
|
margin_bottom = 102.0
|
||||||
|
|
||||||
[node name="ImageSize" type="Label" parent="VBoxContainer"]
|
[node name="ImageSize" type="Label" parent="VBoxContainer"]
|
||||||
margin_right = 184.0
|
margin_right = 184.0
|
||||||
|
@ -71,6 +71,6 @@ margin_top = 50.0
|
||||||
margin_right = 155.0
|
margin_right = 155.0
|
||||||
margin_bottom = 71.0
|
margin_bottom = 71.0
|
||||||
text = "Nearest"
|
text = "Nearest"
|
||||||
items = [ "Nearest", null, false, 0, null, "Bilinear", null, false, 1, null, "Cubic", null, false, 2, null, "Trilinear", null, false, 3, null, "Lanczos", null, true, 4, null ]
|
items = [ "Nearest", null, false, 0, null, "Bilinear", null, false, 1, null, "Cubic", null, false, 2, null, "Trilinear", null, false, 3, null, "Lanczos", null, false, 4, null ]
|
||||||
selected = 0
|
selected = 0
|
||||||
[connection signal="confirmed" from="." to="." method="_on_ScaleImage_confirmed"]
|
[connection signal="confirmed" from="." to="." method="_on_ScaleImage_confirmed"]
|
||||||
|
|
Loading…
Reference in a new issue