summaryrefslogtreecommitdiff
path: root/editor/animation_track_editor.cpp
AgeCommit message (Collapse)Author
2022-04-27Merge pull request #60440 from ↵Rémi Verschelde
KoBeWi/Ȑ̶̛̘̻̹̪͙̇̍̔͐̊̆̏̏̓̈́̉͌͘Ȩ̸͉̳̘̬̣̩̽̈́́̅̈́̕͝ͅS̷͓̮̙̪̪̺̭̰̓̎̌́͗͆͌̈́̒͋͊͘Ë̷̡̨͔̻͈̺͓̘͉́̏̍̓͋̋͠T̶̠̙͍̱̠̱̟͎͇̬̥̞̘͛̔̄̏̆̽̄̌̅͝ͅ
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-26Merge pull request #60446 from KoBeWi/animation_exterminationRémi Verschelde
Remove RESET tracks after removing tracks
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-23Remove RESET tracks after removing trackskobewi
2022-04-22Fix RESET animation not being createdkobewi
2022-04-20Fix more issues found by cppcheck.bruvzg
2022-04-08Highlight hovered keyframes in the animation track editorHugo Locurcio
Both unselected and selected keyframes feature hover feedback. This currently only affects standard keyframes (i.e. not booleans, colors or audio tracks which use custom icons).
2022-04-08Merge pull request #59396 from Calinou/animation-track-editor-improve-drawingRémi Verschelde
Improve the animation track editor drawing
2022-03-30Cleanup EditorNode and EditorDataHendrik Brucker
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-03-21Improve the animation track editor drawingHugo Locurcio
- Draw a background on alternate lines to ease readability of animations with many tracks. - Draw a background on the currently hovered line. - Use the editor focus stylebox instead of a custom rectangle for the focused track.
2022-03-12Initialize bools in the headers in editorAaron Franke
2022-03-11Use get_cursor_shape for identifying the cursor shape in AnimationTimelineEditMarkus Sauermann
get_cursor_shape() is used in cases where a Control displays different cursors in different areas. There is no need to set the default cursor shape on every mouse move event.
2022-03-10Fix some Animation panel icons not updating after theme changeHaoyu Qiu
2022-03-09Merge pull request #58929 from reduz/remove-variant-arg-macrosRémi Verschelde
Remove VARIANT_ARG* macros
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-07Add missing i18n to various stringsHaoyu Qiu
2022-03-06Remove duplicate editor settings definitionskobewi
2022-03-06Remove set_as_minsize()kobewi
2022-02-16Port existing _notification code to use switch statements (part 1/3)jmb462
2022-02-15Merge pull request #57877 from bruvzg/subpixel_gl_posRémi Verschelde
2022-02-13Fix AnimationTrack mouse wheel zooming at low zoom leveljmb462
2022-02-12Add sub-pixel glyph positioning support.bruvzg
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-10Fix selecting keys in Track EditFrancois Belair
2022-02-09Implement drawing and editing all anim beziersFrancois Belair
* Move bezier edit from track to button in toolbar * Draw, edit all bezier curves simultaneously * Add click on curve to select tracks * Tie track editor's filter view to bezier editor * Implement visibility and locking * Fix editor spacing issues * Fix track buttons spacing * Add keyframe focus and (de)select all key handling
2022-02-09Merge pull request #55899 from groud/fix_rotation_track_wrong_typeRémi Verschelde
Fixes rotation 3D track inspector not using the correct type
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-02-03Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière
get_viewport()->gui_get_focus_owner()
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-01-23Minor tweaks and fixes to panningkobewi
2022-01-23Merge pull request #57000 from KoBeWi/UNLIMITED_PANNINGRémi Verschelde
2022-01-21Add ViewPanner to 2D editorkobewi
2022-01-20Merge pull request #51452 from omar-polo/fix-macrosRémi Verschelde
2022-01-20Rename or refactor macros to avoid leading underscoresOmar Polo
These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros.
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-19[Editor] Move some animation specific keying logic out of inspector.Fabio Alessandrelli
Most of the custom logic to handle special keying cases is now inside the AnimationPlayerEditorPlugin. The EditorInspector now emits a signal when inspecting a new object.
2022-01-14Add ViewPanner to more editorskobewi
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde
2021-12-13Fixes rotation 3D track inspector not using the correct typeGilles Roudière
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-07ScrollContainer's scrollbar visibility is now enumkobewi
2021-12-06Merge pull request #55662 from ↵Rémi Verschelde
KoBeWi/update_minimum_size_changed_to_update_minimum_size
2021-12-06Fix error when adding RESET key for new trackkobewi
2021-12-06Merge pull request #52280 from ↵Rémi Verschelde
jmb462/fix-bad-popup-offset-with-single-window-off
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>