A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.
With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
Save group collapsed state during editing session
Save collapsed groups in Animation resource so they persist across sessions
Update editor/animation/animation_track_editor.h
Remove data duplication and unnecessary method
Prevent error about negative-sized Rect2
Move animation group folding to editor cfg files
Clean up length of some lines of code
Keep fold state of groups when renamed
Update scene/resources/animation.h
Make fold_area_rect calculation more accurate
Improve animation includes
Store animation fold state in scene folding file
Fix animation fold saving for independent resource animations
Apply suggestions from code review
Update scene/resources/animation.h
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
Add monospace font styling to more items in signal workflow
Use monospace font in method and property selection dialogs
Use monospaced font in Animation editor
Add editor setting
Additional fixes and things
Add documentation to editor setting
# Conflicts:
# editor/inspector/property_selector.cpp
Update doc/classes/EditorSettings.xml
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
- Removes `native_menu.h` dependency from `display_server.h`.
It's now forward-declared in all DisplayServer implementations and should
be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
having to include them explicitly in half the scene and editor codebase...
which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
Shortcuts for these buttons don't make use of the Button shortcut
system, so that they work globally (even if the animation editor is
not focused). Therefore, we need to add the shortcut to the tooltip manually.