summaryrefslogtreecommitdiff
path: root/editor/plugins/animation_player_editor_plugin.cpp
AgeCommit message (Collapse)Author
2023-02-13Improvements and fixes based on Weblate commentsHaoyu Qiu
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted". * Spell out "Animation" instead of using "Anim.". * Treat "Max" as regular word instead of writing "Max.". * Use generic "Set %s" for action name instead of a dedicated "Set target_position". * Add translator comment for: * "Inclusive" and "Self" in the profiler. * Places where it needs the context about being an editor progress label. * "Duplicated Animation Name" since it's refering to the new name of a duplicated animation. * Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal". * Fix wrong undo action name for renaming an input action. * Fix missing end quote in a shader error message. * In class reference: * Fix duplicated "if" in the description of `signf()`. * Fix mismatched example output in `String.operator %()`. * Fix typo in the description of `Decal.texture_emission`. * Unify description of `String.match()` and `StringName.match()`.
2023-01-30Tweak the name for duplicated animations in the editorSilc Renew
2023-01-26Make AnimatedSprite's playback API consistent with AnimationPlayerSilc Renew
2023-01-20Merge pull request #48570 from Calinou/animation-editors-new-nameRémi Verschelde
Tweak the name for new animations in the editor
2023-01-16Add EditorUndoRedoManager singletonkobewi
2023-01-14Implement toggling pause / stop button to AnimationPlayerEditorSilc 'Tokage' Renew
2023-01-11Split pause() from AnimationPlayer's stop()kobewi
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-22Add inspector plugin for key time edit & Change find key argumentSilc Renew
2022-12-17Make keys deselected when keying property for animation to avoid crashSilc 'Tokage' Renew
2022-12-05Fix animation play backward doesn't process current key&animtrack seekSilc Renew
2022-12-05Merge pull request #68770 from TokageItLab/add-track-validatorRémi Verschelde
Add track validator to AnimationPlayerEditor to detect tracks which have error
2022-11-29Use forward-declarations in big editor classestrollodel
2022-11-28Add track validator to AnimationPlayerEditorSilc Renew
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-02Unify usage of undo_redo in editorkobewi
2022-10-14Make some Image methods statickobewi
2022-10-10Merge pull request #65942 from SaracenOne/animation_change_callback_fixRémi Verschelde
Fix animation change callbacks
2022-10-10Add animation_selected signal to AnimationPlayerEditorSilc Renew
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-09-29Animation editor: Disable onion skinning temporarily due to rendering bugRémi Verschelde
Works around #53870.
2022-09-16Fix animation change callbacksSaracenOne
2022-09-07Refactor to use internal foreign resource checking function.SaracenOne
Create unique duplicates of embedded animations when calling 'Make Unique' on AnimationLibrary.
2022-09-01Rename `uniform` to `parameter` across the engineYuri Rubinsky
2022-08-29Merge pull request #64386 from timothyqiu/anim-disableRémi Verschelde
Fix crash when loading Animation Library after reloading a scene
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-22Add per-scene UndoRedokobewi
2022-08-14Fix crash when loading Animation Library after reloading a sceneHaoyu Qiu
2022-08-10Merge pull request #63245 from V-Sekai/animation_editor_read_onlyRémi Verschelde
2022-08-04Rename shader parameter uniform setter/getter methods for consistencyHugo Locurcio
`shader_uniform` is now consistenly used across both per-shader and per-instance shader uniform methods. This makes methods easier to find in the class reference when looking for them.
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-21Add read-only mode to AnimationEditor for foreign resources.SaracenOne
2022-07-18Use integer types in Image and ImageTexture methodsFireForge
- Image.blit_rect() - Image.blit_rect_mask() - Image.blend_rect() - Image.blend_rect_mask() - Image.fill_rect() - Image.get_used_rect() - Image.get_rect() - ImageTexture.set_size_override()
2022-07-13Tweak the name for new animations in the editorHugo Locurcio
- Use snake_case to "suggest" the naming that fits the Godot style guide. - Fully spell out "new_animation" since both editors can fit it in full. - Don't internationalize the new animation name to have consistent behavior between both editors. - Since the recommendation is to follow snake_case, special characters should also be avoided in the name to make animations easier to refer to in code.
2022-07-13Merge pull request #62827 from fire-forge/ok-cancelRémi Verschelde
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-09Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-06-23Add missing TTR in dialog titleHaoyu Qiu
2022-06-09Increase AnimationPlayer position SpinBox to fit more decimalsDanny Chung
Fixed UI bug where it appeared that pushing the up or down incrementing arrows did not increment the SpinBox value appropriately. Just needed to increase the size of the box horizontally, to display four decimal points consistently.
2022-06-08i18n: Misc fixes translation stringsRémi Verschelde
Adds some translator comments to solve some questions raised on Weblate.
2022-05-24Remove configuration warning from AnimationPlayerSnailRhymer
Remove warning about animations in different libraries having the same name, since shared names are fine. Also fix missing vformat argument when setting the name of an animation to one that does conflict with an animation in the same library.
2022-05-24Merge pull request #61106 from snailrhymer/animation-library-fixesRémi Verschelde
Fix errors and improve UX relating to new animation libraries
2022-05-17Fix errors and improve UX relating to new animation librariesSnailRhymer
- Fix a bug causing an error message when a scene containing an AnimationPlayer with a reset track is saved, by correctly referencing the temporary "default" library. - Make library dropdown in new animation window assign correct library when creating an animation. - Similarly allow choice of library when duplicating animation. - Make library dropdown default to library of currently selected animation. - Make library dropdown show when exactly one library exists, and it isn't [Global]. Include [Global] on the dropdown in this case (will be newly created if dialog is confirmed). - When appending (x) to avoid New Anim name collisions, correctly check target library instead of [Global]. - Add parentheses when appending x when duplicating animations in the library editor, for consistency. - Change titles and prompts to be distinct in name/rename/duplicate dialiogs. - Fix bug in OprionButton.get_selectable_item(true) when last is not selectable. - Fix issues where animation wasn't found on deletion/rename by correctly prepending library name. - Remove an extraneous print_line from animation_track_editor. - Add messages to errors when an animation isn't found.
2022-05-09Fixed delta & Implement selection of whether or not to seek rootSilc Renew
2022-05-05Fix global AnimationLibrary name validationHaoyu Qiu
2022-04-19Fix AnimationLibrary name validationHaoyu Qiu
2022-04-12Disable Open in Inspector when there is no animationHaoyu Qiu
2022-04-11Implement Animation Librariesreduz
* Instead of containing single animations, AnimationPlayer now contains libraries. * Libraries, in turn, contain the animations. This paves the way for implementing the possibility of importing scenes as animation libraries, finally allowing to import animations separate from the 3D models. Missing (will be done on separate PRs): * Make it possible to import scenes (dae/fbx/gltf) as animation libraries. * Make it possible for AnimationTree to import animation libraries on its own, so it does not rely on AnimationPlayer for everything.
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-03-12Allow negative indexes in ItemList and PopupMenukobewi