Age | Commit message (Collapse) | Author |
|
This patch adds ability to include external, user-defined C++ modules
to be compiled as part of Godot via `custom_modules` build option
which can be passed to `scons`.
```
scons platform=x11 tools=yes custom_modules="../project/modules"
```
Features:
- detects all available modules under `custom_modules` directory the
same way as it does for built-in modules (not recursive);
- works with both relative and absolute paths on the filesystem;
- multiple search paths can be specified as a comma-separated list.
Module custom documentation and editor icons collection and generation
process is adapted to work with absolute paths needed by such modules.
Also fixed doctool bug mixing absolute and relative paths respectively.
Implementation details:
- `env.module_list` is a dictionary now, which holds both module name as
key and either a relative or absolute path to a module as a value.
- `methods.detect_modules` is run twice: once for built-in modules, and
second for external modules, all combined later.
- `methods.detect_modules` was not doing what it says on the tin. It is
split into `detect_modules` which collects a list of available modules
and `write_modules` which generates `register_types` sources for each.
- whether a module is built-in or external is distinguished by relative
or absolute paths respectively. `custom_modules` scons converter
ensures that the path is absolute even if relative path is supplied,
including expanding user paths and symbolic links.
- treats the parent directory as if it was Godot's base directory, so
that there's no need to change include paths in cases where custom
modules are included as dependencies in other modules.
|
|
|
|
|
|
This closes #38684.
|
|
This makes it possible to see if both errors and warnings were
pushed without having to open the tab.
|
|
|
|
|
|
Updade dialog node's icons
|
|
Fix: #37716
|
|
|
|
|
|
doc: Update classref with node renames
|
|
A few extra renames for classes which were missed in last week's PRs.
|
|
Configured for a max line length of 120 characters.
psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:
- Manually wrapped strings will be reflowed, so by using a line length
of 120 for the sake of preserving readability for our long command
calls, it also means that some manually wrapped strings are back on
the same line and should be manually merged again.
- Code generators using string concatenation extensively look awful,
since black puts each operand on a single line. We need to refactor
these generators to use more pythonic string formatting, for which
many options are available (`%`, `format` or f-strings).
- CI checks and a pre-commit hook will be added to ensure that future
buildsystem changes are well-formatted.
|
|
Rename editor plugins to match the new node names.
|
|
Fixes #30736.
|
|
|
|
We now require SCons 3.0+ (first version with Python 3 support),
and we set min required Python 3 version to 3.5 (3.4 and earlier are
EOL).
|
|
|
|
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap.
Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
|
|
Using PascalCase file names without any conversion step is
less confusing to new contributors.
|
|
|
|
Remove the 3D camera gizmo icon
|
|
|
|
|
|
|
|
|
|
|
|
The gizmo icon obstructed the line-based camera gizmo, which made it
difficult to see the actual camera orientation.
This also removes the unused SpatialStreamPlayer gizmo icon.
This closes https://github.com/godotengine/godot-proposals/issues/425.
|
|
The icon is the same as WAV samples, as both formats are accepted
in AudioStreamPlayer.
This closes #35163.
|
|
The crosshair makes freelook navigation a bit easier, while making it
clearer that it's possible to select nodes by clicking while in
freelook mode.
The crosshair is only displayed while in freelook mode.
It uses an icon designed to be visible on any background.
|
|
This makes navigation more convenient in the 3D viewport, especially
when using the unshaded display mode.
|
|
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
|
This makes it faster to distinguish overbright colors from
"standard" colors.
|
|
Make them more intuitive.
|
|
|
|
This makes editor binaries about 230 KB smaller.
The command used was:
parallel svgcleaner --multipass {} {} ::: editor/icons/*.svg
|
|
Fix various problems with tab-related icons
|
|
Improve the SoftBody node editor icon
|
|
Add some missing icons
|
|
Display audio buses' current volume in a tooltip when hovering slider
|
|
|
|
- Add icons to the up/down bandwidth LineEdits for better
visual grepping.
- Make bandwidth LineEdit texts more prominent when data is being
received/emitted.
- Add more spacing between the up and down bandwidth LineEdits.
- Initialize the bandwidth texts using `set_bandwidth()` to ensure
consistency with the actual bandwidth texts once the profiler
is started.
- Fix icon colors when switching from a dark theme to a light theme
and vice versa.
- Add missing `EDSCALE` constants for hiDPI scaling.
|