1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00
Commit graph

511 commits

Author SHA1 Message Date
OverloadedOrama 84e822bb44 Made Onion Skinning Settings dialog bigger - Fixes #220 2020-04-23 23:25:12 +03:00
OverloadedOrama 85bdffa322 If linked cels existed when a frame got deleted, they now get removed from memory
It basically loops through the layers and, if some cels are linked, they get deleted from the Global.layers array. Closes #218
2020-04-23 01:46:16 +03:00
Igor Santarek 8ac923c716
Export multiple files in multiple directories feature (#217)
Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2020-04-22 22:36:23 +03:00
OverloadedOrama 2d4d40c213 Added a "Link Cel" option when right clicking on a cel, if the cel isn't already linked
This should make cel linking be more user friendly.
2020-04-22 19:01:33 +03:00
OverloadedOrama f7b9d22991 On merge layer, linked cels on the bottom layer will become unlinked if the top cels have content
Works with UndoRedo too
2020-04-22 16:56:03 +03:00
OverloadedOrama 09d2265056 Made Unlink Cel work with UndoRedo 2020-04-21 21:34:45 +03:00
OverloadedOrama 1e4a5cff8e The guides can no longer be undone
They were causing issues with UndoRedo, and with the latest changes, even crashes. I decided to remove their UndoRedo behavior, at least for now.

Also put jegor377 to the list of Contributors.
2020-04-21 21:01:45 +03:00
Igor Santarek 086679f1f0
Open last edited project at startup or at will feature (#215)
* Created feature that will alllow user to open last edited project on Pixelorama startup or open last edited project at will.

Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2020-04-21 20:45:02 +03:00
OverloadedOrama fef7627f73 Made the animation stop playing on clear_canvases()
This stop the animation from playing when a new image is being created, or a file is being loaded.
2020-04-21 19:42:01 +03:00
OverloadedOrama c737ff3589 Canvas background gets resized on frame_changed
In case frames have different sizes. Also solved issue when opening files and they had a different size than the currently selected image.
2020-04-21 04:29:39 +03:00
OverloadedOrama 79a4c0232e Minor TransparentChecker performance boost
Got rid of its _process, using _ready() instead. It also gets called when the canvas size changes, or the checker settings in the preferences change.
2020-04-20 19:12:22 +03:00
OverloadedOrama b21455cfd0 Minor guide and rulers performance boost
Got rid of their _process methods, Guides have input instead, and the rulers get updated when the camera zoom or offset change.
2020-04-20 18:52:05 +03:00
OverloadedOrama 06d19c8e48 Frame tags now work with UndoRedo 2020-04-20 00:09:48 +03:00
OverloadedOrama cb1b741b05 Made general undo and redo methods in Global.gd
To reduce some duplicate code, and they will most likely be needed for frame tags UndoRedo
2020-04-19 21:17:33 +03:00
OverloadedOrama 9cb98a443e Delete frames from tags if the frames are deleted
And also move tags if frames before their first frame are deleted. Doesn't work with UndoRedo yet.
2020-04-19 21:00:36 +03:00
OverloadedOrama ba2b8aae91 Changes on how animation plays on frame tags
If the animation starts playing on a frame outside a tag, the animation will not limit itself to the tags later on as it plays. The animation will play only on a tag, if it started on a frame which has that tag. I also made it react to frame and tag changes, if they happen while the animation is running.

I also added a play_animation() method in AnimationTimeline.gd, to reduce duplicate code found in _on_PlayForward_toggled() and _on_PlayBackwards_toggled()
2020-04-19 20:39:08 +03:00
OverloadedOrama b6c7ad4d1c Small UI & translation fixes
Made the right panel in Main.tscn and CreateNewImage.tscn a little bigger, changed some labels, translations and some Global.can_draws. Also added a temporary fix for a issue where Space is being treated as a mouse press, for FrameButton.gd
2020-04-19 02:27:23 +03:00
OverloadedOrama cba301f911 Zoom label now shows the correct zoom value on smooth zoom 2020-04-18 20:38:59 +03:00
OverloadedOrama 53a9719230 Removed old transparent background & made some tooltip changes
The transparent background has been removed both from code and its files. Changed some hint_tooltips and put them in Translations.pot too.
2020-04-18 18:36:29 +03:00
Kinwailo 2ae67cdb76 Improve the checker board of transparent background 2020-04-18 15:03:18 +08:00
OverloadedOrama 4e539e5e29 Removed remove_frame() from FrameButton.gd
Use _on_DeleteFrame_pressed() on AnimationTimeline.gd instead
2020-04-18 00:35:42 +03:00
OverloadedOrama feea931e22 Fixed issue with project brushes and undoing their deletion 2020-04-17 22:10:52 +03:00
luiq54 73891af597 Brush Selection Fix 2020-04-17 22:33:52 +05:30
OverloadedOrama 954b6111c2 Cloned frames are now automatically part of the tag
The tags don't work with UndoRedo yet, so this is not final behavior
2020-04-17 04:59:23 +03:00
OverloadedOrama 699dfbe091 Cleaned adjust_hsv in Canvas.gd a bit
Removed duplicate code & made it faster for selections
2020-04-17 04:35:47 +03:00
OverloadedOrama a3b01873a2 When cloning a frame, the clone appears next to the cloned
Removed some code from FrameButton.gd since it's used in AnimationTimeline.gd, and removed the Global.hidden_canvases array, as... it did nothing? I don't remember what I made it for, I think it was for UndoRedo purposes but it's seems to be working fine without it.
2020-04-17 04:25:08 +03:00
OverloadedOrama 4068330e26 Improved "Fit to Frame" button
Also set the default mode for the right zoom tool to zoom out.
2020-04-16 18:34:57 +03:00
Manolis Papadeas 42dbd31c7a
Merge pull request #204 from novhack/switch-colors-shortcut
Switch colors shortcut
2020-04-16 18:25:11 +03:00
Manolis Papadeas 88dff6cf46
Merge pull request #203 from novhack/preferences-cleanup
Cleanup preference dialog
2020-04-16 18:12:04 +03:00
OverloadedOrama 40e7a0aed9 Don't let tag_to be larger than Global.canvases.size(), and smaller than tag_from
Also, when adding an new tag, the starting and ending frame values become the current frame.
2020-04-16 03:00:40 +03:00
novhack 840b83fee7 Add color switch shortcut to preferences. 2020-04-15 20:52:20 +02:00
Schweini07 acff84c5b1
Add a Delete Button and a Copy Button for frames (#202) 2020-04-15 20:59:49 +03:00
novhack bfbe76ab79 Cleanup preference dialog visuals a little bit. Add missing hints. 2020-04-15 19:44:34 +02:00
OverloadedOrama 4e33775c84 Fixed bug where the user could drag the guides when the canvas had no focus 2020-04-15 19:54:59 +03:00
OverloadedOrama 10280f25f9 Added checkbox to toggle if the animation will play only on the frames of the same tag 2020-04-15 16:25:58 +03:00
Manolis Papadeas f27a3be6ae
Merge pull request #199 from luiq54/devel
Added HSV Adjust Dialog
2020-04-15 16:05:44 +03:00
luiq54 8fdeb63778 Fix minor bugs and cleanup 2020-04-15 15:19:29 +05:30
OverloadedOrama 69afd97cb0 Fixed bug where the user could drag the selection when it had no focus
For example, when a window dialog was open.
2020-04-14 18:39:24 +03:00
OverloadedOrama ab6e1bc384 Fixed issue with undo/redo selecting the Zoom tool
If undo, redo or redo_secondary are pressed, no tool won't be selected.
2020-04-14 17:03:16 +03:00
luiq54 cb051239dc Added Previews and Better Saturation/Value Lerping 2020-04-14 16:21:35 +05:30
luiq54 2b8796aacc Added HSV Adjust Dialog 2020-04-13 20:49:28 +05:30
OverloadedOrama bdd3cdf45e Improved the "fit to frame" zoom button
The resulting camera zoom now depends on the window size. More specifically, the main viewport's x size. This formula is purely trial-and-error, and it may not work perfectly, or properly for some screen sizes.

If anyone wants to improve it, feel free to do so!
2020-04-13 16:39:18 +03:00
Manolis Papadeas 7d2b15cc0b
Merge pull request #198 from sapient-cogbag/moving-stuff-in-canvas
Made arrow keys (with shift and control for speedup) work ^.^ nyaaa
2020-04-13 16:19:26 +03:00
sapient_cogbag 076bf2c7be
Done the thing to eliminate conflicts with frame movement NYAAA. i am extremely tired and will probably go sleep soon ^.^ nyaaa <3 2020-04-13 13:52:25 +01:00
OverloadedOrama 4c38467014 Don't do undo/redo on the zoom tool 2020-04-13 15:25:50 +03:00
sapient_cogbag 11a7261ef1
Made arrow keys (with shift and control for speedup) work ^.^ nyaaa 2020-04-13 08:55:01 +01:00
OverloadedOrama c63fd85659 Changed some mouse_default_cursor_shapes
Also renamed "OptionButton" to "PresetOptionButton" in PreferencesDialog, and changed "sapient-cogbag" to "sapient_cogbag" in the contributors list.
2020-04-13 05:31:44 +03:00
OverloadedOrama 21dd3f2e2d Added a zoom tool
Makes it easier to zoom for people with tablets and touch screens in general
2020-04-13 05:07:52 +03:00
OverloadedOrama 354dffd98b Added MatheusPese & sapient-cogbag to contributors
Also some code space clearings & removed empty methods and comments in XDGDataPaths.gd
2020-04-13 01:40:26 +03:00
Manolis Papadeas 0046856b0f
Merge pull request #197 from sapient-cogbag/xdg-standard
XDG basedir standard on X11 Godot platforms
2020-04-13 01:23:55 +03:00