summaryrefslogtreecommitdiff
path: root/editor/animation_track_editor.cpp
AgeCommit message (Collapse)Author
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.
2018-07-05Merge pull request #19475 from YeldhamDev/animplayer_cosmeticMax Hilbrunner
Minor changes to the AnimationPlayer editor
2018-07-05Merge pull request #19713 from volzhs/fix-crash-nodepath-animation-editMax Hilbrunner
Fix crash when assigning a node on editing animation key
2018-07-03Hide play position if animation node is invalidkhairul169
2018-06-30Minor changes to the AnimationPlayer editor.Michael Alexsander Silva Dias
2018-06-22Fix crash when assigning a node on editing animation keyvolzhs
2018-06-18Prevent animation player crashGuilherme Felipe
2018-06-18Fix bug in animationplayer editor not using subproperties properlyBojidar Marinov
Fixes #19448
2018-06-08Bit more of visual polishJuan Linietsky
2018-06-08Remove the "go back" behavior in track editor for inspector based key ↵Juan Linietsky
editing, fixes #19434, fixes #19423
2018-06-08Properly update range and valid key range when keys are in/out of view, ↵Juan Linietsky
fixes #19433
2018-06-08Fixed cursor not updating in some circumstances, closes #19430Juan Linietsky
2018-06-08Disallow via add track for animation player to animate itself, fixes #19425Juan Linietsky
2018-06-08Avoid animation length from ever being completely, fixes #19420Juan Linietsky
2018-06-07Entirely new (and much improved) animation editor.Juan Linietsky