summaryrefslogtreecommitdiffstats
path: root/editor/plugins/sprite_frames_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@f128f383e892865379cb8b14e7bcc9858efe2973Spartan3222024-11-271-0/+1
|\
| * Add theme type variations for secondary Trees and ItemListspassivestar2024-11-191-0/+1
| |
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-29/+29
|\|
| * Rename internal Button icon to button_icon to match exposed methodsAaron Franke2024-10-291-29/+29
| |
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Merge commit godotengine/godot@80f0b33313dae52d072ba2771a88ebcc4f0b4d6dSpartan3222024-10-181-1/+2
|\|
| * Don't flip playback control buttons in RTL layoutHaoyu Qiu2024-10-161-1/+2
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Add duplicate animationAinsley Su2024-09-011-0/+44
| | | | Co-authored-by: Nonunknown <nonunknown777@gmail.com>
* Enable SpriteFramesEditor to guess the amount of rows and columns of a ↵Sofox2024-08-261-4/+86
| | | | sprite sheet when loading it for the first time
* Fix sprite frame editor crash with null `frames` pounterjsjtxietian2024-07-031-1/+1
|
* Add a way to force history for undoredokobewi2024-06-261-0/+4
|
* [Scene] Add `SceneStringNames::text/value_changed`A Thousand Ships2024-06-191-11/+11
|
* [Scene] Add `SceneStringNames::confirmed`A Thousand Ships2024-06-191-2/+2
|
* [Scene] Add `SceneStringNames::item_selected`A Thousand Ships2024-06-191-1/+1
|
* Fix Crash when trying to undo SpriteFrames animation rename #93079Hilderin2024-06-121-3/+7
|
* [Scene] Add `SceneStringNames::panel`A Thousand Ships2024-05-301-1/+1
|
* Select text in SpriteFramesEditor spin boxes on focusPaweł2024-05-271-0/+8
|
* [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-27/+27
|
* Merge pull request #91909 from KoBeWi/have_fun_reviewing_thisRémi Verschelde2024-05-141-12/+12
|\ | | | | | | Use Core/Scene stringnames consistently
| * Use Core/Scene stringnames consistentlykobewi2024-05-131-12/+12
| |
* | Fix errors on pressing autoplay in sprite frames editorYuri Rubinsky2024-05-131-1/+1
|/
* Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-081-1/+1
| | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-8/+8
| | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* Avoid double editing when clicking AnimatedSpritekobewi2024-04-171-1/+5
|
* Reorganize some code to have 2D things grouped togetherAaron Franke2024-04-131-6/+6
|
* Fix SpriteFrames editor visibility problemskobewi2024-03-211-1/+3
|
* Merge pull request #88413 from LeulMulugeta/dont_reset_select_framesRémi Verschelde2024-03-051-12/+15
|\ | | | | | | Remember frames when selecting `SpriteFrame` frames
| * Remember frames when selecting SpriteFrame framesLeul Mulugeta2024-03-051-12/+15
| |
* | Add editor shortcuts to toggle bottom panel visibilityHugo Locurcio2024-03-051-1/+2
|/ | | | | | | | Default shortcuts use the first or second letter of each word. This also adds a new shortcut to toggle the last opened bottom panel. On editor startup, this defaults to the first panel in the list (which is the Output panel).
* Merge pull request #85494 from ↵Rémi Verschelde2024-03-041-98/+205
|\ | | | | | | | | | | Hobitus/Allow-multi-selection-of-frames-in-the-SpriteFrames-animation-editor Add multi-selection for `SpriteFramesEditor`
| * Added multi-selection for sprite_frame_editorDominic Marier2024-02-291-98/+205
| | | | | | | | | | | | use multi-selection for copy/paste move up or down frame duration set while multi-selected
* | Extract BottomPanel from EditorNodekit2024-02-201-2/+3
| |
* | Make auto translation inheritableMichael Alexsander2024-02-151-1/+1
| |
* | Extend minimum/maximum zoom level of TextureRegion editorHugo Locurcio2024-01-291-1/+1
| | | | | | | | This also applies a similar change to the SpriteFrames editor.
* | Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* | Merge pull request #83577 from DennisManaa/fix-translation-for-item-listRémi Verschelde2024-01-041-0/+1
|\ \ | | | | | | | | | Add automatic translation of items to ItemList
| * | Implement automatic translation for ItemListDennisManaa2023-10-231-0/+1
| | |
* | | Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-1/+1
| |/ |/|
* | Remove AnimatedSprite pointer when clearing editorkobewi2023-11-081-1/+2
|/
* Defer updating the animations Tree in SpriteFramesEditor to avoid crashes风青山2023-10-181-11/+27
| | | | | | | | | | | Previously, clicking the LMB while renaming an animation could cause `SpriteFramesEditor::_update_library(false)` to be called during `Tree::propagate_mouse_event()`. This may cause a crash. We can defer updates to the editor interface to avoid calling `Tree::create_item()` at the wrong time. Enables `SpriteFramesEditor::_select_animation()` to be able to undo/redo
* Merge pull request #79872 from dalexeev/sprite-frames-editor-2Rémi Verschelde2023-10-051-8/+6
|\ | | | | | | SpriteFrames Editor: Fix Frame Duration applied to wrong frame when switching frame
| * SpriteFrames Editor: Fix Frame Duration applied to wrong frame when ↵Danil Alexeev2023-07-251-8/+6
| | | | | | | | switching frame
* | Merge pull request #79692 from dalexeev/sprite-frames-editorRémi Verschelde2023-10-051-14/+8
|\ \ | | | | | | | | | SpriteFrames Editor: Fix FPS applied to two animations when switching animation
| * | SpriteFrames Editor: Fix FPS applied to two animations when switching animationDanil Alexeev2023-07-251-14/+8
| |/
* | Merge pull request #81939 from YuriSizov/gui-flat-and-depressedRémi Verschelde2023-09-251-22/+22
|\ \ | | | | | | | | | Replace flat buttons with flat-styled buttons with a visible pressed state
| * | Replace flat buttons with flat-styled buttons with a visible pressed stateYuri Sizov2023-09-191-22/+22
| | |
* | | Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platformajreckof2023-09-191-2/+3
|/ /
* | [Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-151-1/+1
| |
* | Add EditorStringNames singletonkobewi2023-09-031-33/+34
| |