Age | Commit message (Collapse) | Author |
|
|
|
Scroll horizontally when holding Shift with Scroll to Pan enabled
|
|
ToolButton has no redeeming differences with Button;
it's just a Button with the Flat property enabled by default.
Removing it avoids some confusion when creating GUIs.
Existing ToolButtons will be converted to Buttons, but the Flat
property won't be enabled automatically.
This closes https://github.com/godotengine/godot-proposals/issues/1081.
|
|
This closes https://github.com/godotengine/godot-proposals/issues/1077.
|
|
|
|
|
|
Fix editor texture preview for certain specific dimensions
|
|
Ensures no error is issued when attempting to preview a resource that
may be scaled down to <1 pixel when resizing to fit the thumbnail.
|
|
Fix a random crash in the TileSet editor
|
|
Occurred when selecting polygon collision mode, then drawing a single point, then selecting rectangle mode, and finally trying to select a rectangle.
|
|
- Remove the crosshair as it no longer serves a purpose (the cursor will
now appear where the user "expects" it to).
This closes https://github.com/godotengine/godot-proposals/issues/1076.
|
|
Display freelook speed and zoom in units in the 3D editor viewport
|
|
Now that the 3D editor grid is infinite and adjusts its step automatically,
this helps people get a better sense of scale when moving around in the
3D viewport.
This also fixes the indicator bar drawing on hiDPI displays.
|
|
Skeleton and Skeleton inspector low-level changes
|
|
Changes listed below:
* Added helper functions to Skeleton3D for converting transforms from bone space to global space, and vice versa.
* Updated the Skeleton3D class reference.
* Changed the icon used for bones in the Skeleton3D inspector to use BoneAttachement3D's icon.
* Changed the Skeleton3D inspector to use EditorPropertyTransform and EditorPropertyVector3 when possible.
* Placed the Transform/Matrix for each bone in a sub-section, so it is visually similar to the Node3D inspector.
|
|
|
|
|
|
Change the default editor camera rotation to position it in +X +Y +Z
|
|
Add an editor tooltip to document gizmo visibility options
|
|
|
|
|
|
See discussion in
https://github.com/godotengine/godot-proposals/issues/716.
|
|
- properly visit power of 2 factors (50%, 100%, 200%...)
- index based zoom values to prevent floating point issues
- Fix 2d editor not able to reach min and max zoom values
|
|
Preserving "Sync Scene Changes" & "Sync Script Changes" with Project Settings
|
|
Allow mouse zooming without hovering the texture in the TileSet editor
|
|
Implement zooming using Ctrl + Mouse wheel in the TileMap editor
|
|
Change OK text in snap dialog to OK
|
|
Improve the text appearance in the script editor warnings panel
|
|
This was previously implemented in the GridMap editor. This makes
the same feature available in the TileMap editor.
|
|
This partially addresses
https://github.com/godotengine/godot-proposals/issues/968.
|
|
|
|
Fixes: #38739
|
|
|
|
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
|
|
Extra `_2d` suffixes are removed from 2D methods accoringly.
|
|
Add shortcut for Pan Mode (G)
|
|
Custom Skeleton3DEditorPlugin
|
|
And change TileMap Bucket Fill shortcut to (B).
Fixes #8582.
|
|
- Make the Ignore button's position identical across all warnings
by moving it to the left.
- Change the Ignore button's text and color to make it more obvious
that it can be clicked.
- Use the editor font instead of the default project font to match
the rest of the editor.
|
|
Well, infinite for all intents and purposes.
|
|
Co-authored-by: Marios Staikopoulos <marios@staik.net>
|
|
Fixes: #38894
|
|
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
|
|
I couldn't find a tool that enforces it, so I went the manual route:
```
find -name "thirdparty" -prune \
-o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \
-o -name "*.glsl" > files
perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files)
misc/scripts/fix_style.sh -c
```
This adds a newline after all `}` on the first column, unless they
are followed by `#` (typically `#endif`). This leads to having lots
of places with two lines between function/class definitions, but
clang-format then fixes it as we enforce max one line of separation.
This doesn't fix potential occurrences of function definitions which
are indented (e.g. for a helper class defined in a .cpp), but it's
better than nothing. Also can't be made to run easily on CI/hooks so
we'll have to be careful with new code.
Part of #33027.
|
|
Which means that reduz' beloved style which we all became used to
will now be changed automatically to remove the first empty line.
This makes us lean closer to 1TBS (the one true brace style) instead
of hybridating it with some Allman-inspired spacing.
There's still the case of braces around single-statement blocks that
needs to be addressed (but clang-format can't help with that, but
clang-tidy may if we agree about it).
Part of #33027.
|
|
|
|
Using clang-tidy's `modernize-use-bool-literals`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
|
|
Using `clang-tidy`'s `modernize-use-default-member-init` check and
manual review of the changes, and some extra manual changes that
`clang-tidy` failed to do.
Also went manually through all of `core` to find occurrences that
`clang-tidy` couldn't handle, especially all initializations done
in a constructor without using initializer lists.
|
|
|
|
Also renamed `delaunay.h` to `delaunay_2d.h` to match the class name.
|