summaryrefslogtreecommitdiff
path: root/editor/animation_track_editor.cpp
AgeCommit message (Collapse)Author
2019-07-04Use CheckBoxes in the editor instead of CheckButtons when applicableHugo Locurcio
CheckButtons should only be used if toggling them has an immediate effect. Otherwise, CheckBoxes should be used.
2019-07-03Make easier to select keys that are at position 0 in AnimationPlayer editorjens
Fixes #26151. Co-Authored-By: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-23Display invalid value keys in AnimationTrackEditRémi Verschelde
Godot 2.1 and 3.0 had this feature but it was lost in the rewrite of the animation editor in 3.1. Drop unused KeyValid icon, since all valid keys now have a custom type icon.
2019-06-19Merge pull request #29899 from Chaosus/select_all_tracksRémi Verschelde
Added button to select all tracks in track copy dialog
2019-06-19Added button to select all tracks in track copy dialogChaosus
2019-06-19Fix animation keys selection with SHIFT/CTRL Chaosus
2019-06-16i18n: Sync translation template with current sourceRémi Verschelde
2019-06-09Enhancements for the audio bus editorMichael Alexsander Silva Dias
2019-05-31Sync Animation editor with Inspectorvolzhs
2019-05-31Revert "Fix AnimationPlayer editor length and step synchronization"volzhs
This reverts commit ca80ebe9f6319f3caf008bd3f49fc11bae13423c.
2019-05-27Make animation editor change tracks positions instead of swapping themMichael Alexsander Silva Dias
2019-05-25Fix "Node not found:" error message when adding tracksMichael Alexsander Silva Dias
2019-05-24Merge pull request #24771 from ↵Rémi Verschelde
timoschwarzer/animation-player-editor-pos-drag-fix Fix AnimationPlayer editor length and step synchronization
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-06Fix AnimationPlayer editor length and step synchronizationTimo Schwarzer
2019-04-30Fixed a few issues with the bezier animation track editor, fixed the Travis ↵Ben Hickling
CI errors, added TTR to bezier value labels and rounded them to 3 decimal points
2019-04-30Merge pull request #28323 from homer666/animationplayer-imported-anim-warningRémi Verschelde
Warn when opening imported anim in Animation editor
2019-04-30Warn when opening imported anim in AnimationPlayerhomer666
2019-04-28Update edited keyframe's snap mode properlyhomer666
2019-04-25Merge pull request #28361 from homer666/animationplayer-fps-mode-fixesHein-Pieter van Braam
AnimationPlayer FPS mode fixes
2019-04-25i18n: Sync translation template with current sourceRémi Verschelde
(cherry picked from commit 23cf9f3b6f8d362cbde1f940d1b97d66b8fff3fd)
2019-04-24AnimationPlayer FPS mode fixeshomer666
2019-04-18Fix AnimationPlayer snap mode dropdown behaviourhomer666
2019-04-15Scale animation track editor line widths on hiDPI displaysHugo Locurcio
2019-04-15Implement autokeying in Animation editor.Juan Linietsky
2019-04-15Oops I missed a line, continuation to 0d41f8f.Juan Linietsky
2019-04-15Avoid crash on changing snap mode when no animation exists, closes #28031Juan Linietsky
2019-04-14Also show length in FPS when using FPS mode for AnimationPlayer editorJuan Linietsky
2019-04-14Add support for FPS snap in Animation Editor.Juan Linietsky
2019-03-11Prevents a Null Reference in deleting Animations.Anish
A null Animation would cause a crash by accessing restricted memory. Solved by checking if the animation track is null before using the animation. Fixes: #26829
2019-03-06Safer way to update animation if changed, fixes #26670Juan Linietsky
2019-03-03Implement a more coherent (and way less hack) way to block animation ↵Juan Linietsky
updates, fixes #24618
2019-02-21Make translatable some undo/redo operations in the editorMichael Alexsander Silva Dias
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-14Drop unused AnimationTrackKeyEdit::track_editorRémi Verschelde
Added by mistake in 4a24ba6e77c7128e64dee31cf05f6960abdb8108.
2019-02-14-Fixes to undo redo to avoid crash, closes #24251Juan Linietsky
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer -Added missing emit_changed whe modifying keys to Animation -Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references -Changed AnimationEditor to update the current track when keys are edited -Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated) -Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14Avoid case where editors are deleted while moved, fixes #25508, fixes #24829Juan Linietsky
2019-01-04Removed duplicated codeDawid Wdowiak
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-09AnimationPlayer, snap absolute position instead of motion.DualMatrix
Fixes #22663
2018-11-01Merge pull request #22817 from DualMatrix/animation_groupJuan Linietsky
Made AnimationPlayer track groups update after changing path
2018-10-08Fixed Animation Keyframe inspector not displaying after moving key.DualMatrix
Fixed Animation Keyframe inspector not displaying after moving key.
2018-10-07Made AnimationPlayer track groups update after changing pathDualMatrix
Made AnimationPlayer track groups update after changing path
2018-09-27Fix warnings about unused variables [-Wunused-variable]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` drivers/gles2/rasterizer_scene_gles2.cpp:1139:15: warning: unused variable 'offset' [-Wunused-variable] drivers/gles2/rasterizer_scene_gles2.cpp:1205:39: warning: unused variable 'multi_mesh' [-Wunused-variable] drivers/gles2/rasterizer_storage_gles2.cpp:359:7: warning: unused variable 'srgb' [-Wunused-variable] drivers/gles2/shader_gles2.cpp:1016:45: warning: unused variable 'texture_hints' [-Wunused-variable] editor/animation_track_editor.cpp:776:9: warning: unused variable 'keys_to' [-Wunused-variable] editor/editor_inspector.cpp:273:7: warning: unused variable 'vs_height' [-Wunused-variable] editor/editor_themes.cpp:202:10: warning: unused variable 'begin_time' [-Wunused-variable] editor/editor_themes.cpp:239:10: warning: unused variable 'end_time' [-Wunused-variable] editor/plugins/animation_blend_tree_editor_plugin.cpp:726:17: warning: unused variable 'an' [-Wunused-variable] editor/plugins/script_text_editor.cpp:1278:8: warning: unused variable 'fold_state' [-Wunused-variable] main/main.cpp:132:13: warning: 'use_vsync' defined but not used [-Wunused-variable] modules/cvtt/image_compress_cvtt.cpp:231:8: warning: unused variable 'y_end' [-Wunused-variable] modules/cvtt/image_compress_cvtt.cpp:311:6: warning: unused variable 'shift' [-Wunused-variable] modules/gdscript/gdscript_editor.cpp:58:7: warning: unused variable 'th' [-Wunused-variable] modules/gridmap/grid_map.cpp:1084:6: warning: unused variable 'ofs' [-Wunused-variable] modules/theora/video_stream_theora.cpp:442:9: warning: unused variable 'tr' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2606:6: warning: unused variable 'count' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2829:6: warning: unused variable 'seq_count' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2844:24: warning: unused variable 'vnode_function' [-Wunused-variable] modules/websocket/lws_peer.cpp:122:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:135:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:63:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:91:12: warning: unused variable 'peer_data' [-Wunused-variable] platform/android/export/export.cpp:763:16: warning: unused variable 'node_size' [-Wunused-variable] scene/gui/rich_text_label.cpp:850:10: warning: unused variable 'x_ofs' [-Wunused-variable] scene/gui/text_edit.cpp:653:8: warning: unused variable 'tab_w' [-Wunused-variable] scene/resources/bit_mask.cpp:186:6: warning: unused variable 'i' [-Wunused-variable] scene/resources/mesh.cpp:549:20: warning: '_array_name' defined but not used [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:107:10: warning: unused variable 'v2' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:108:10: warning: unused variable 'v3' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:109:10: warning: unused variable 'v4' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:110:10: warning: unused variable 'v5' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:111:10: warning: unused variable 'v0n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:112:10: warning: unused variable 'v1n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:113:10: warning: unused variable 'v2n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:114:10: warning: unused variable 'v3n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:115:10: warning: unused variable 'v4n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:116:10: warning: unused variable 'v5n' [-Wunused-variable] servers/visual/default_mouse_cursor.xpm:2:21: warning: 'default_mouse_cursor_xpm' defined but not used [-Wunused-variable] ```
2018-09-25Tweak some editor texts' capitalization, use "Go to" instead of "Goto"Hugo Locurcio
This also fixes a typo in the `debugger/debug_with_external_editor` shortcut.
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-07-26Merge pull request #19464 from bojidar-bg/19448-fix-subproperty-handlingRémi Verschelde
Fix bug in animationplayer editor not using subproperties properly
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.