Rémi Verschelde
3d2dd79ecd
SCons: Drop support for Python 2
...
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).
2020-03-25 15:25:37 +01:00
Rémi Verschelde
13a9bfbca7
Style: Harmonize header guards to style guide [Core]
2020-03-25 11:22:19 +01:00
Rémi Verschelde
5fede4a81c
Merge pull request #37272 from AndreaCatania/fix_ik_rot
...
Fixed IK rotation issue
2020-03-25 08:25:44 +01:00
Andrea Catania
277696d6c5
Fixed IK rotation issue
2020-03-24 10:06:24 +01:00
Rémi Verschelde
cfd84625f0
Move DocData and Collada out of their subfolders
...
Now that the unused DocDump was removed, the `editor/doc` subfolder is
redundant.
Similarly, there's no reason for Collada to have a subfolder for itself
when glTF or OBJ don't.
2020-03-24 09:56:04 +01:00
Rémi Verschelde
9d24541597
Remove unused classes and stray headers
...
Found by reviewing headers with 1 or less matching includes:
```
find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers
for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes
```
2020-03-24 09:50:51 +01:00
Rémi Verschelde
ed9a0d0484
Merge pull request #37179 from clayjohn/VULKAN-sky-shader
...
Implement Sky Shaders
2020-03-22 20:03:35 +01:00
clayjohn
61a74739ca
Working sky shader implementation
2020-03-21 20:43:44 -07:00
Rémi Verschelde
7ed9da0a54
Merge pull request #37161 from simpuid/positon-gizmo-fix
...
Fixes transform gizmo position when node has default transform
2020-03-21 15:31:47 +01:00
simpuid
19825436d4
Fixes transform gizmo position when node has default transform
...
Changes made:
* Added dirty bit for SpatialEditorSelectedItem's last_xform
* SpatialEditorViewport checks that dirt bit too before skipping the selection
2020-03-21 18:31:46 +05:30
Rémi Verschelde
aca1971a12
i18n: Add header strings to translation catalog
2020-03-20 12:35:22 +01:00
Rémi Verschelde
4857648a16
i18n: Add support for translating the class reference
...
- Parse `.po` files from `doc/translations/*.po` like already done
with `editor/translations/*.po`.
- Add logic to register a doc translation mapping in `TranslationServer`
and `EditorSettings`.
- Add `DTR()` to lookup the doc translation mapping (similar to `TTR()`).
Strings are automatically dedented and stripped of whitespace to ensure
that they would match the translation catalog.
- Use `DTR()` to translate relevant strings in `EditorHelp`,
`EditorInspector`, `CreateDialog`, `ConnectionsDialog`.
- Small simplification to `TranslationLoaderPO`, the path argument was
not really meaningful.
2020-03-20 08:48:11 +01:00
Fabio Alessandrelli
10dd73c868
Merge pull request #37159 from ThakeeNathees/f8-stop-process-crash-fix
...
Fix editor crash when stopping game with F8.
2020-03-19 16:51:41 +01:00
Rémi Verschelde
500086587a
Merge pull request #35712 from KoBeWi/theheme_spy
...
Show theme property descriptions in the inspector
2020-03-19 14:50:59 +01:00
Thakee Nathees
76fd073f58
stop game process with KEY_F8 crash fixed
...
Fix : #37121
2020-03-19 19:13:19 +05:30
johan
1c02906a6f
Editor 2D: Change pixel alignment strategy, fix jittering in high zoom
...
Alignment of scene pixels on screen pixel ensure a crisp rendering of small features (such as text). Unfortunately, alignment of top left pixel on screen adds a lot of jittering when zooming at high zoom factor.
This change allow to snap the top left scene pixel on the closest screen pixel (not only the top-left most), and we do so only when the scale factor is an integer.
2020-03-18 12:37:14 -04:00
Rémi Verschelde
194d2ccb72
Merge pull request #37116 from neikeq/issue-12917
...
Sync csproj when files are changed from the Godot FileSystem dock
2020-03-18 16:07:49 +01:00
Ignacio Etcheverry
fe0b783e70
Expose FileSystemDock to the scripting API and fixed signals
...
Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being
emitted because the emitted was using the wrong signal name.
2020-03-18 15:06:07 +01:00
Rémi Verschelde
faca5bafe8
Merge pull request #36993 from van800/editor_metadata
...
For third-party tools - editor_path is stored in project's editor settings
2020-03-18 10:39:06 +01:00
Rémi Verschelde
b8577ecce1
Merge pull request #37106 from akien-mga/clang-format-cpp11
...
Style: Set clang-format Standard to Cpp11
2020-03-17 08:42:39 +01:00
Rémi Verschelde
cb282c6ef0
Style: Set clang-format Standard to Cpp11
...
For us, it practically only changes the fact that `A<A<int>>` is now
used instead of the C++03 compatible `A<A<int> >`.
Note: clang-format 10+ changed the `Standard` arguments to fully
specified `c++11`, `c++14`, etc. versions, but we can't use `c++17`
now if we want to preserve compatibility with clang-format 8 and 9.
`Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-17 07:36:24 +01:00
alvaroHernandez
e47d5691e4
prevent joypad button input dropdown going out of dialog
2020-03-16 21:44:50 -03:00
Rémi Verschelde
2aa832f415
i18n: Sync translations with Weblate
...
(cherry picked from commit 0e36b11f9d
)
2020-03-16 10:49:03 +01:00
Rémi Verschelde
47eb28a919
Merge pull request #36184 from volzhs/plugins-checkbox
...
Use checkbox for plugin status instead of option list
2020-03-16 10:47:32 +01:00
Rémi Verschelde
2a49798c7b
Merge pull request #36970 from JFonS/fix_viewports_update
...
Update all editor viewports after settings changes
2020-03-14 23:46:58 +01:00
JFonS
55b478afd9
Update all editor viewports after settings changes
2020-03-14 20:47:12 +01:00
Pedro J. Estébanez
98326d88bb
Fix bad uses of mutex causing deadlocks
2020-03-13 11:13:58 +01:00
Rémi Verschelde
951ecc4f79
Merge pull request #36518 from Janglee123/no-underlined-keywords
...
Removed underlining of not clickable symbols
2020-03-12 22:24:43 +01:00
Rémi Verschelde
36a414eb03
Merge pull request #36994 from akien-mga/typedefs-cleanup
...
typedefs: Cleanup unused macros and unnecessary checks
2020-03-12 22:02:18 +01:00
Ivan.Shakhov
2f151068b5
for third-party tools - editor_path is stored in project's editor settings
2020-03-12 13:59:48 +01:00
Rémi Verschelde
676fcca988
Merge pull request #36963 from JFonS/fix_rotation_gizmo_update
...
Fix rotation gizmo for empty Spatials
2020-03-12 12:35:18 +01:00
Rémi Verschelde
1c2f2a805d
typedefs: Cleanup unused macros and unnecessary checks
...
We now require a compiler with C++17 support, so we don't need to
check for features added to GCC 5 or Clang 3.2.
Clang builtin availability checks were unused anyway as Clang defines
`__GNUC__` as it's also a GNU C implementation.
Fixes #36986 .
2020-03-11 21:44:56 +01:00
luz.paz
7bf6e5f773
Fix various typos
...
Found via `codespell`
2020-03-11 13:59:18 -04:00
janglee
50a570c9c1
Removed underlining for not clickable symbols
2020-03-11 08:57:21 +00:00
JFonS
a0af3094b4
Fix rotation gizmo for empty Spatials
...
The AABB for an empty Spatial has 0 size, since the stored and
compared Transform was scaled by the AABB size, it would completely
destroy the rotation information. If there is no rotation
information, the gizmo doesn't update when the rotation changes.
2020-03-10 16:23:22 +01:00
Rémi Verschelde
1500e40ccf
Merge pull request #36887 from MCrafterzz/relativeSnap
...
Made snap relative work on rotation as well
2020-03-10 10:17:42 +01:00
Fabio Alessandrelli
95c4ba80c5
Fix "deploy with remote debug" editor option.
...
The line to update the option was missing (rendering it useless).
Of course the only one I didn't know how to test was broken.
2020-03-10 04:06:19 +01:00
Rémi Verschelde
478337c412
Merge pull request #36751 from Faless/debugger/threads_and_profilers
...
ScriptDebugger refactor, threading, profilers.
2020-03-09 19:08:07 +01:00
Marcus Elg
97a07bada7
Made snap relative work on rotation as well
2020-03-09 17:00:47 +01:00
Rémi Verschelde
af015f79d3
Merge pull request #36917 from volzhs/cancel-snap-setting
...
Update snap setting only with OK
2020-03-09 12:19:56 +01:00
Rémi Verschelde
1f37c8e048
Merge pull request #36914 from guilhermefelipecgs/fix_check_view_information
...
Fix the VIEW_INFORMATION checkbox not being selected (visually)
2020-03-09 12:17:07 +01:00
Rémi Verschelde
e162c07af9
Merge pull request #36920 from Faless/debugger/more_instances
...
Move Debug menu logic to DebuggerEditorPlugin, allow 4 debug instances
2020-03-09 12:01:14 +01:00
Rémi Verschelde
a4318281d3
Merge pull request #36929 from timothyqiu/keep-filename
...
Keeps the filename when marking scene as unsaved
2020-03-09 11:43:11 +01:00
Rémi Verschelde
788765709d
DocData: Fix serialization of Variant default values
...
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-03-09 10:52:44 +01:00
Rémi Verschelde
e629b4bc8a
i18n: Sync translations with Weblate
...
(cherry picked from commit 18e021b7cd
)
2020-03-09 10:13:45 +01:00
Fabio Alessandrelli
bfc1b76803
Allow running/debugging up to 4 instances.
2020-03-09 09:43:54 +01:00
Haoyu Qiu
9ed61a70cc
Keeps the filename when marking scene as unsaved
2020-03-09 10:26:57 +08:00
jfons
7055a926ff
Add rotation widget to 3D viewport
2020-03-08 23:38:29 +01:00
Fabio Alessandrelli
4d623b70d7
Move Debug menu logic to DebuggerEditorPlugin
2020-03-08 22:57:48 +01:00
volzhs
667a981d4d
Update snap setting only with OK
...
restore previous values with cancel
2020-03-09 04:31:11 +09:00