Haoyu Qiu
4e0547afe9
Add option to paste animation as duplicate
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-04-14 10:40:39 +08:00
Haoyu Qiu
f0908df8b9
Disable "Open in Inspector" when there is no animation
2022-04-08 10:20:33 +08:00
Haoyu Qiu
15aab4cde0
Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()`
...
(cherry picked from commit 6a1e3380f8
)
2022-03-12 14:45:35 +01:00
Haoyu Qiu
3b04f59354
Fix some Animation panel icons not updating after theme change
...
(cherry picked from commit 83828c7d1b
)
2022-03-10 19:02:01 +01:00
Haoyu Qiu
2ccd4fd030
Fix animation resource name after duplication
...
(cherry picked from commit 8dc12135cd
)
2022-03-10 17:18:41 +01:00
Haoyu Qiu
aaf29c2d58
Make duplicate animation prompt for new name
2022-02-14 14:48:34 +08:00
Rémi Verschelde
c938104a88
Merge pull request #56630 from Pineapple/replace-find-last
2022-01-18 16:36:52 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Bartłomiej T. Listwon
22750b1c03
Replace String::find_last with rfind where possible (backward compatible with old API)
2022-01-08 22:40:44 +01:00
lawnjelly
3d981b8265
Add option to use handles to RID
...
Adds an option to compile an alternative implementation for RIDs, which allows checks for erroneous usage patterns as well as providing leak tests.
2021-12-06 14:43:34 +00:00
Kerrad Yanis
77b00d16e2
Fix 3D Onion skinning missing
2021-09-14 13:37:23 +02:00
Pedro J. Estébanez
4da9a501f6
Add animation reset track feature
...
As a bonus, to have consistency between use Beziers and create insert tracks, use Beziers also gets a default via editor settings that is used when the confirmation dialog is disabled, instead of just falling back to creating non-Bezier tracks.
2021-05-09 09:40:16 +02:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rafał Mikrut
06976c3e84
[3.x] Fix crashes when using _input functions
2021-04-27 16:51:29 +02:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Michael Alexsander
e7e022b3ee
Prefer the highlight version of the "GuiTabIcon" icon for buttons, and make their width/height equal
...
(cherry picked from commit 26381265b8
)
2020-07-15 12:11:31 +02:00
Sl3dge78
6e835a4820
Autofilled path gets set properly on animation subresources
...
(cherry picked from commit d731f43794
)
2020-06-21 21:39:23 +02:00
Rémi Verschelde
4a95186b4b
Animation editor: Set resource name when duplicating
...
Fixes #25156 .
2020-01-13 13:22:06 +01:00
Rémi Verschelde
a7f49ac9a1
Update copyright statements to 2020
...
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
2020-01-01 11:16:22 +01:00
Haoyu Qiu
078c0d75f2
Cleans up headers included in editor_node.h
2019-12-24 21:46:05 +08:00
Rémi Verschelde
2845e6a21a
Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers
...
Removed unused variables, add some constants numbers
2019-12-10 08:25:31 +01:00
Rafał Mikrut
ed1c4bc77d
Removed unused variables, add some constants numbers
2019-12-10 05:13:02 +01:00
PouleyKetchoupp
d900cfafa3
Fixed errors in AnimationPlayerEditor when switching current_animation in the inspector
...
Case 1: start and stop an animation in the inspector
Case 2: start an animation in the inspector, then stop and start again in the track editor
Fixes #34021
2019-12-01 15:45:23 +01:00
Relintai
c39490cf79
Fix potential crash in AnimationPlayer.
2019-10-03 21:07:49 +02:00
Relintai
c6e577fed9
Fix crash in #32473 . (Automatically seek timeline in selected animation)
2019-10-03 00:00:01 +02:00
Tomasz Chabora
d482bd1ef0
Automatically seek timeline in selected animation
2019-10-01 18:38:03 +02:00
Michael Alexsander Silva Dias
5ed5465023
Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it
2019-09-25 12:53:42 -03:00
Rémi Verschelde
dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
...
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
qarmin
17732fe698
Added some obvious errors explanations
2019-09-25 10:28:50 +02:00
Rémi Verschelde
2add51d082
Merge pull request #31964 from nekomatata/fix-animation-player-error
...
Fixed switching back to AnimationPlayerEditor with empty animation list
2019-09-19 20:32:05 +02:00
PouleyKetchoupp
b01d07e049
Fixed switching back to animation player editor with no animation to select
...
Fixes #31959
2019-09-04 18:18:25 +02:00
Michael Alexsander Silva Dias
5f3a55acb7
Add informational messages to various editors
2019-09-04 12:37:11 -03:00
Hugo Locurcio
55b9c6804c
Implement precise snapping in the animation editor
...
Holding Shift while snapping is enabled will now make snapping
4 times as precise.
2019-09-02 15:55:44 +02:00
Hugo Locurcio
4a28657cf5
Tweak range steps in the animation editor
...
This makes the step of the "frame" SpinBox larger, so that clicking
on the SpinBox arrows will make the number increase in a visible manner.
Previously, the full number was being cut off due to the SpinBox
being narrow.
This also makes the "step" SpinBox allow for more precise input.
2019-08-06 12:25:53 +02:00
Hugo Locurcio
8b12498f8b
Improve snapping in the animation editor
...
Snapping can now be toggled temporarily by holding the Ctrl key.
Toggling timeline snapping is now done with the "Snap" checkbox rather
than by setting the animation's "Step" setting to 0.
The timeline cursor can no longer exit the animation's boundaries
if the animation's "Step" is set to 0.
2019-08-06 01:44:10 +02:00
qarmin
4e5310cc60
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00
Michael Alexsander Silva Dias
8a9b3d24f5
Fix minor onion layering control errors
2019-06-19 19:42:26 -03:00
Rémi Verschelde
6d16f2f053
Fix error macro calls not ending with semicolon
...
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
2019-06-11 14:49:34 +02:00
volzhs
e16e5012ca
Revert "Fix AnimationPlayer editor length and step synchronization"
...
This reverts commit ca80ebe9f6
.
2019-05-31 04:43:46 +09:00
Michael Alexsander Silva Dias
560f5cb104
Actually fix animation editor's bottom panel button not being pressed on certain occasions
2019-05-27 12:12:51 -03:00
Michael Alexsander Silva Dias
c4f797644d
Fix animation editor's bottom panel button not being pressed on certain occasions
2019-05-25 04:07:51 -03:00
Rémi Verschelde
04ee4f45e5
Merge pull request #24771 from timoschwarzer/animation-player-editor-pos-drag-fix
...
Fix AnimationPlayer editor length and step synchronization
2019-05-24 15:21:47 +02:00
Pedro J. Estébanez
88153fbb61
Fix 2D bones ignored by onion skinning
...
Fixes #27819 .
2019-05-22 20:40:57 +02:00
Pedro J. Estébanez
3b17e6de33
Remove ghost of canvas zoom controls during onion skinning
2019-05-20 22:36:34 +02:00
Michael Alexsander Silva Dias
c66bcedb7a
Make "Onion Skinning" toggle its own button
2019-05-14 00:42:05 -03:00
Timo Schwarzer
ca80ebe9f6
Fix AnimationPlayer editor length and step synchronization
2019-05-06 21:39:24 +02:00
Rémi Verschelde
ae41e35191
Merge pull request #27676 from qarmin/small_fixes_2
...
Small fixes to static analyzer bugs
2019-05-01 08:19:04 +02:00
Juan Linietsky
4203266923
Add support for FPS snap in Animation Editor.
2019-04-14 16:43:38 -03:00