Marcus Brummer
85175c67b8
Enable text selection in execute output of EditorNode
2020-06-04 14:38:55 +02:00
Rémi Verschelde
f05b4fea33
Merge pull request #39099 from YeldhamDev/create_dialog_icon_fallback
...
Add fallback icons and make custom ones appear in the recent/favorites list in the "Create New" dialog
2020-06-04 11:58:55 +02:00
Rémi Verschelde
f66eed7d58
Merge pull request #38924 from Calinou/tweak-import-compression-hint
...
Tweak the import compression property hint for clarity
2020-06-04 11:48:40 +02:00
Rémi Verschelde
f1d9d50da1
Merge pull request #39154 from dreamsComeTrue/sync-script-change-remember
...
Preserving "Sync Scene Changes" & "Sync Script Changes" with Project Settings
2020-06-04 11:11:35 +02:00
Rémi Verschelde
d642cc1d70
Merge pull request #39271 from RandomShaper/fix_atlas_crop
...
Fix excessive bottom cropping in atlas generation
2020-06-04 11:09:59 +02:00
Hugo Locurcio
bbc435624f
Add visual feedback when hovering layer checkboxes in the Inspector
...
This also changes how checkboxes are selected, which makes it possible
to click in the small area between two checkboxes and
still toggle a value successfully (which is arguably less frustrating).
2020-06-03 23:15:59 +02:00
Rémi Verschelde
243cb503e1
Merge pull request #39204 from Calinou/distraction-free-property-getter
...
Add a getter and property for the editor distraction-free mode
2020-06-03 23:08:43 +02:00
Rémi Verschelde
19dc5c42d8
Merge pull request #37839 from MrRevington/3.2-_input_focus_check
...
FIX CodeTextEditor not respecting focus in _input
2020-06-03 22:49:45 +02:00
Rémi Verschelde
9a44dd6e1e
Merge pull request #39167 from Calinou/tileset-editor-zoom-mouse-wheel-anywhere
...
Allow mouse zooming without hovering the texture in the TileSet editor
2020-06-03 22:48:39 +02:00
Rémi Verschelde
8fc6766d72
Merge pull request #39165 from Calinou/tilemap-editor-zoom-mouse-wheel
...
Implement zooming using Ctrl + Mouse wheel in the TileMap editor
2020-06-03 22:48:22 +02:00
Rémi Verschelde
176e6a0be3
Merge pull request #39262 from aaronfranke/ok
...
Change OK text in snap dialog to OK
2020-06-03 22:47:18 +02:00
Rémi Verschelde
b1b49d966d
Merge pull request #39009 from Calinou/improve-script-editor-warnings-text
...
Improve the text appearance in the script editor warnings panel
2020-06-03 22:44:37 +02:00
Pedro J. Estébanez
fb7ae73045
Fix excessive bottom cropping in atlas generation
2020-06-03 22:24:49 +02:00
Hugo Locurcio
cc1859efed
Add a getter and property for the editor distraction-free mode
2020-06-03 22:18:49 +02:00
Hugo Locurcio
def2059d67
Implement zooming using Ctrl + Mouse wheel in the TileMap editor
...
This was previously implemented in the GridMap editor. This makes
the same feature available in the TileMap editor.
2020-06-03 22:17:13 +02:00
Hugo Locurcio
d10a5b2928
Allow mouse zooming without hovering the texture in the TileSet editor
...
This partially addresses
https://github.com/godotengine/godot-proposals/issues/968 .
2020-06-03 22:16:36 +02:00
Aaron Franke
8f85858224
Change OK text in snap dialog to OK
2020-06-03 10:55:03 -04:00
Dominik 'dreamsComeTrue' Jasiński
72501ae104
Preserving "Sync Scene Changes' and "Sync Script Changes" with Project Settings
...
Fixes : #38739
2020-06-03 12:28:00 +02:00
Rémi Verschelde
3a59c24b51
Merge pull request #39150 from dreamsComeTrue/project-manager-grab-focus-on-enter
...
Grabbing focus on ProjectList after clicking an item.
2020-06-03 11:31:54 +02:00
Rémi Verschelde
cec49bd194
Merge pull request #39203 from Xrayez/fix-no-lang-crash
...
Prevent crash attaching a script with no languages registered
2020-06-03 11:08:35 +02:00
Rémi Verschelde
4749437b23
Merge pull request #39209 from Xrayez/ray-shape-indie
...
Move `RayShape2D` implementation into its own translation unit
2020-06-03 11:07:32 +02:00
Aaron Franke
bb8aa107fd
Remove 32-bit String to_int method
2020-06-03 00:03:34 -04:00
Eric M
58caa2c453
Improved warning shown when autoload cannot be added.
2020-06-01 21:09:30 +10:00
Andrii Doroshenko (Xrayez)
9bb070b030
Move `RayShape2D` implementation into its own translation unit
2020-06-01 01:52:07 +03:00
Andrii Doroshenko (Xrayez)
52f3cfca6f
Prevent crash attaching a script with no languages registered
2020-05-31 21:01:42 +03:00
Dominik 'dreamsComeTrue' Jasiński
1ec8f59397
Grabbing focus on ProjectList after clicking an item.
...
Fixes : #39012
2020-05-30 21:19:50 +02:00
Alex Bustin
9175af6f13
Respect 'mesh compression' editor import option in Assimp (ie. FBX) and glTF importers
2020-05-29 13:06:39 -07:00
Rémi Verschelde
1620669f4e
Merge pull request #39051 from Xrayez/geometry-split
...
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-29 12:10:37 +02:00
Rémi Verschelde
a16031beb6
Use translated docs in PropertySelector
...
And do the dedent and stripping for both translated and
non-translated strings for consistency, and so that we
don't need to do it at the call site.
2020-05-28 12:02:12 +02:00
Michael Alexsander
84d7492b2d
Add fallback icons and make custom ones appear in the recent/favorites list in the "Create New" dialog
2020-05-27 16:05:19 -03:00
Andrii Doroshenko (Xrayez)
69d5de632e
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
...
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-27 14:28:34 +03:00
Rémi Verschelde
9dc96c0dd8
Merge pull request #39062 from akien-mga/du-pain-et-des-jeux
...
Add shortcut for Pan Mode (G)
2020-05-27 12:55:34 +02:00
Rémi Verschelde
84d9e10f88
Merge pull request #36409 from fire/skeleton-custom-inspector
...
Custom Skeleton3DEditorPlugin
2020-05-27 11:04:37 +02:00
Rémi Verschelde
28b33718b0
Add shortcut for Pan Mode (G)
...
And change TileMap Bucket Fill shortcut to (B).
Fixes #8582 .
2020-05-26 15:31:32 +02:00
Rémi Verschelde
f8005cb699
Merge pull request #28289 from aaronfranke/grid
...
Dynamic infinite 3D grid
2020-05-26 13:39:53 +02:00
Andrii Doroshenko (Xrayez)
a96f0e98d7
Add `custom_modules` build option to compile external user modules
...
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.
2020-05-25 15:33:32 +03:00
Rémi Verschelde
fee9742b59
Fix build after merge of #37235
...
It used APIs that were changed after the PR was last rebased.
2020-05-25 13:10:34 +02:00
Rémi Verschelde
aea1a0e983
Merge pull request #37235 from Calinou/improve-editor-feature-profiles
...
Improve the editor feature profiles UX
2020-05-25 12:56:33 +02:00
Tomasz Chabora
f4c6bb568e
Reverse mouse wheel in animation track editor
2020-05-25 01:30:05 +02:00
Hugo Locurcio
0c0ee427d2
Improve the text appearance in the script editor warnings panel
...
- 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.
2020-05-24 14:30:44 +02:00
Aaron Franke
8879625879
Dynamic infinite 3D grid
...
Well, infinite for all intents and purposes.
2020-05-22 19:43:59 -04:00
PouleyKetchoupp
01802074a0
Fix dialog spam when inspecting MeshInstance from model file
...
Avoid load_scene for built-in resources to make sure we don't
open a scene tab and prompt for model file editing.
Load scene as regular resource instead and store the reference to keep
the dependency until the remote inspector cache is cleared.
2020-05-22 21:50:16 +02:00
K. S. Ernest (iFire) Lee
f7fdc87789
Custom Skeleton3DEditorPlugin
...
Co-authored-by: Marios Staikopoulos <marios@staik.net>
2020-05-22 09:54:34 -07:00
MrRevington
4641fb9ec4
FIX CodeTextEditor not respecting focus in _input
2020-05-22 17:32:15 +02:00
Hugo Locurcio
1439447071
Tweak the import compression property hint for clarity
2020-05-21 17:06:44 +02:00
Dominik 'dreamsComeTrue' Jasiński
03b54f8a35
Fix moving 2D node with mouse after using arrow keys
...
Fixes : #38894
2020-05-21 14:50:35 +02:00
Rémi Verschelde
2ddbaeaf8c
DocData: Fix sorting of arguments and constants
...
The missing `operator<` definitions caused `Vector::sort()` to fail
sorting those alphabetically by name on Windows (not sure why Linux
isn't affected, I guess GCC/Clang are cleverer and use the operator
from the first struct member).
2020-05-20 14:36:34 +02:00
Rémi Verschelde
55377aa559
Merge pull request #38876 from paulloz/fix-import-params-error
...
Fix error with 'params' when import dock doesn't define any parameter
2020-05-20 14:00:01 +02:00
Paul Joannon
b7a6946790
check the params section exist before erasing it in import_dock
...
related #38864
2020-05-20 01:04:21 +02:00
Michael Alexsander
d015e4d6fc
Keep "lock" metadata when changing a Node's type, if applicable
2020-05-19 10:42:15 -03:00
Rémi Verschelde
0187cdae9a
Merge pull request #38800 from YeldhamDev/icons_complete
...
Add more missing node icons
2020-05-18 10:02:02 +02:00
Rémi Verschelde
d4599fff68
Merge pull request #38804 from m4gr3d/android_plugin_config_master
...
Implementation of the Godot Android Plugin configuration file
2020-05-17 22:38:47 +02:00
Fredia Huya-Kouadio
14e6696c8e
Implementation of the Godot Android Plugin configuration file
2020-05-17 11:11:26 -07:00
Michael Alexsander
50585e2cfa
Add more missing node icons
2020-05-17 12:51:49 -03:00
Rémi Verschelde
4c8832701b
Merge pull request #38695 from dreamsComeTrue/node-swap-order-arguments
...
Replace 'add_child_below_node' with 'add_sibling' in Node
2020-05-17 11:36:05 +02:00
Rémi Verschelde
1a43d3b396
Merge pull request #38451 from eduardonunesp/feature/command-comma-preferences
...
Using command + comma on macOS as default shortcut for editor settings
2020-05-16 13:24:15 +02:00
Rémi Verschelde
20ffb4b452
Merge pull request #38764 from YeldhamDev/icons_missing
...
Add more missing icons
2020-05-15 22:04:23 +02:00
Dominik 'dreamsComeTrue' Jasiński
7f5c81c32f
Replace 'add_child_below_node' with 'add_sibling' in Node
...
Fixes : #19642
2020-05-15 22:02:00 +02:00
Michael Alexsander
54ed1f63bf
Add more missing icons
2020-05-15 16:20:35 -03:00
Dominik 'dreamsComeTrue' Jasiński
095167dcc3
Hide editor_spin_slider grabber when closing Editor's windows
...
Fixes : #38740
2020-05-15 15:39:32 +02:00
Rémi Verschelde
0ee0fa42e6
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
2020-05-14 21:57:34 +02:00
Rémi Verschelde
07bc4e2f96
Style: Enforce separation line between function definitions
...
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 .
2020-05-14 16:54:55 +02:00
Rémi Verschelde
0be6d925dc
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
...
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 .
2020-05-14 16:54:55 +02:00
Rémi Verschelde
710b34b702
Style: Fix missing/invalid copyright headers
2020-05-14 16:54:54 +02:00
Rémi Verschelde
dcd1151d77
Enforce use of bool literals instead of integers
...
Using clang-tidy's `modernize-use-bool-literals`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
2020-05-14 13:45:01 +02:00
Rémi Verschelde
1a8167867b
Modernize remaining uses of 0/NULL instead of nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2020-05-14 13:45:01 +02:00
Rémi Verschelde
1f6f364a56
Port member initialization from constructor to declaration (C++11)
...
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.
2020-05-14 10:01:56 +02:00
Rémi Verschelde
1c18be1cc9
Merge pull request #38637 from Calinou/editor-rename-revert-scene-bind
...
Rename the editor action "Revert Scene" to "Reload Saved Scene"
2020-05-13 12:58:40 +02:00
Marcel Admiraal
e7fee711b3
Update game controller enums.
2020-05-13 10:33:32 +01:00
Fabio Alessandrelli
d79e28c302
Support multiple debug protocols.
2020-05-12 15:09:13 +02:00
Hugo Locurcio
2962819d1c
Rename the editor action "Revert Scene" to "Reload Saved Scene"
...
This option can be used to workaround various issues with stuff
not reloading properly when changes are made.
The option was renamed to clarify the fact that it actually
reloads the scene saved on the filesystem.
2020-05-12 14:42:09 +02:00
Hugo Locurcio
c6afb9f6ea
Update the editor icons README to remove outdated information
...
This closes #38684 .
2020-05-12 09:46:56 +02:00
Hugo Locurcio
0d7b627936
Tweak the error message displayd when a post-import script fails
...
See #38662 .
2020-05-11 21:11:17 +02:00
Rémi Verschelde
83b630b8c2
thirdparty: Cleanup after #38386 , document provenance and copyright
...
Also renamed `delaunay.h` to `delaunay_2d.h` to match the class name.
2020-05-11 14:50:06 +02:00
Rémi Verschelde
32133a11b5
Merge pull request #38386 from reduz/new-lightmapper
...
New GPU lightmapper
2020-05-11 13:45:48 +02:00
Eduardo Nunes Pereira
75f77f751e
Using command + comma on macOS as default shortcut for editor settings
2020-05-11 13:04:34 +02:00
Rémi Verschelde
70e39cc9a5
Merge pull request #38592 from Calinou/debugger-error-warning-icon
...
Use a different icon for the debugger tab with both warnings and errors
2020-05-11 11:31:59 +02:00
Rémi Verschelde
62bf8b4dd6
Merge pull request #38594 from Calinou/rename-clear-script-action
...
Rename the Clear Script editor action to Detach Script
2020-05-11 11:31:31 +02:00
Rémi Verschelde
845e2111ce
Merge pull request #38631 from Calinou/editor-log-selection-color-theme
...
Tweak the editor log selection color to match the current editor theme
2020-05-11 11:30:23 +02:00
Juan Linietsky
1bea8e1eac
New lightmapper
...
-Added LocalVector (needed it)
-Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too)
-Fixes and changes all around the place
-Added library for 128 bits fixed point (required for Delaunay3D)
2020-05-10 15:59:09 -03:00
Rémi Verschelde
94721f5ab8
Revert "Renamed plane's d to distance"
...
This reverts commit ec7b481170
.
This was wrong, `d` is not a distance but the `d` constant in the
parametric equation `ax + by + cz = d` describing the plane.
2020-05-10 16:47:11 +02:00
Hugo Locurcio
411af2c750
Tweak the editor log selection color to match the current editor theme
...
This overrides the default blue color.
2020-05-10 16:32:14 +02:00
Rémi Verschelde
69de7ce38c
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
...
Part of #33027 .
2020-05-10 13:13:54 +02:00
Rémi Verschelde
e956e80c1f
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
...
Part of #33027 , also discussed in #29848 .
Enforcing the use of brackets even on single line statements would be
preferred, but `clang-format` doesn't have this functionality yet.
2020-05-10 13:12:16 +02:00
Rémi Verschelde
03b13e0c69
Style: Add missing copyright headers
2020-05-10 13:12:16 +02:00
Marcus Elg
ec7b481170
Renamed plane's d to distance
2020-05-10 12:12:51 +02:00
Hugo Locurcio
7fc0e38e92
Rename the Clear Script editor action to Detach Script
...
This makes it more obvious that the script won't be modified
in any way.
See comments in #27813 .
2020-05-09 19:09:11 +02:00
Hugo Locurcio
564f8ccc13
Use a different icon for the debugger tab with both warnings and errors
...
This makes it possible to see if both errors and warnings were
pushed without having to open the tab.
2020-05-09 15:29:13 +02:00
Marcus Elg
9a7e515d50
Rename Lineshapes d to distance
2020-05-09 15:10:00 +02:00
Rémi Verschelde
b9f2e57d62
Merge pull request #38555 from ThakeeNathees/rotation-gizmo-visible-fix
...
rotation gizmo visible = false; when camera preview
2020-05-08 12:59:31 +02:00
Thakee Nathees
60d67f13da
rotation gizmo visible = false; when camera preview
2020-05-08 06:44:24 +05:30
JFonS
051f02a3a0
Keep mouse inside 3D viewport rotation widget
...
Hide and keep the mouse in place when the user oribts the scene via the 3D
rotation widget.
2020-05-07 19:19:54 +02:00
Rémi Verschelde
ca289f4d6f
Merge pull request #38488 from EricEzaM/adjust-stretch-ratio-value-range-and-documentation
...
Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range
2020-05-06 10:06:53 +02:00
Eric M
915ab50673
Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range
2020-05-06 17:43:31 +10:00
Rémi Verschelde
33d0b9e169
Merge pull request #38393 from nekomatata/printerr-remote-debugger-4.0
...
Format remote printerr properly in script debugger output
2020-05-06 07:31:57 +02:00
Rémi Verschelde
cbb86fdf08
Merge pull request #38427 from EricEzaM/fix-custom-property-revert-implementation
...
Stop trying to revert to script/class default values when script implementation of property_can_revert exists
2020-05-06 07:29:42 +02:00
Rémi Verschelde
42649565e9
Merge pull request #38475 from Chaosus/vs_quals
...
Added uniform qualifiers to visual shaders
2020-05-06 07:27:35 +02:00
Rémi Verschelde
4d50f747d5
Merge pull request #37293 from Janglee123/ctrl-click-improvements
...
Improved go-to definition (Ctrl + Click)
2020-05-05 16:49:15 +02:00
Rémi Verschelde
0caf55a481
i18n: Sync translations with Weblate
...
(cherry picked from commit 00b5663782
)
2020-05-05 16:05:56 +02:00
Yuri Roubinsky
463e4ad0f5
Some fixes for canvas item visual shader inputs
2020-05-05 13:19:36 +03:00
Yuri Roubinsky
082542b525
Added uniform qualifiers to visual shaders
2020-05-05 11:25:48 +03:00
janglee
be7a353c70
Improved go-to definition (Ctrl + Click)
...
Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-05-05 10:46:12 +05:30
Rémi Verschelde
878adb22b7
Merge pull request #37717 from qarmin/world_fix
...
Change non-existent World to World3D
2020-05-04 16:37:40 +02:00
Rémi Verschelde
2df844d5b3
Merge pull request #38376 from dreamsComeTrue/duplicate-nodes-fix
...
Proper naming and ordering when Duplicate nodes in SceneTreeDock
2020-05-03 18:18:04 +02:00
Eric M
27ada5c114
Stopped trying to revert to default values when script implementation of property_can_revert exists
2020-05-03 16:54:58 +10:00
PouleyKetchoupp
aacf69bad2
Format remote printerr properly in script debugger output
2020-05-01 18:23:51 +02:00
Dominik 'dreamsComeTrue' Jasiński
03c3abae88
Fix Soft Reload Script shortcut clash with Replace in Files
...
Fixes : #38362
2020-05-01 12:17:14 +02:00
Dominik 'dreamsComeTrue' Jasiński
278259b433
Proper naming and ordering when Duplicate nodes
...
Fixes : #38162
2020-05-01 10:45:55 +02:00
Rémi Verschelde
13aff5338a
Merge pull request #37939 from MrRevington/SpriteFramesEditoAtlasTextureSupport
...
Add AtlasTexture support in SpriteFrames Editor
2020-05-01 08:52:17 +02:00
MrRevington
13770ac08d
Add AtlasTexture support in SpriteFrames Editor - Add Frames from a Sprite Sheet
2020-04-30 23:28:58 +02:00
Josh Chandler
8230e08f18
fixed camera2D showing incorrect bounds in editor
2020-04-30 12:25:39 -04:00
Rémi Verschelde
bd8d5e1b65
Merge pull request #38325 from Calinou/editor-no-focus-on-align-with-view
...
Don't focus the selection after using Align Transform With View
2020-04-30 10:03:29 +02:00
Kiri Jolly
87ba4daf4b
Fixed false positives in the culling system.
...
This fixes numerous false positives coming out of the culling system.
AABB checks are now a full separating-axis check against the frustum, with the points of the frustum being compared to the planes of the box just as the points of the box were being compared to the planes of the frustum. This fixes large objects behind the camera not being culled correctly.
Some systems that used frustums that were (sometimes mistakenly?) unbounded on one or more side have been modified to be fully enclosed.
2020-04-29 19:33:42 -07:00
Rémi Verschelde
58435b0c91
Merge pull request #20371 from aaronfranke/vector-lerp
...
[Core] [Mono] [GDNative] Rename "linear_interpolate" methods to "lerp"
2020-04-29 15:50:00 +02:00
Hugo Locurcio
a636631e33
Don't focus the selection after using Align Transform With View
...
It made minor adjustments difficult as the camera moved every time
Align Transform With View was used.
This closes #36738 .
2020-04-29 15:39:33 +02:00
Rémi Verschelde
4b4fc2ea55
Merge pull request #33578 from code-xD/master
...
Made the search results more specific.
2020-04-29 13:57:25 +02:00
Rémi Verschelde
a277c89556
Merge pull request #37523 from 1abinitio1/master
...
Add option for editor freelook camera sensitivity
2020-04-29 11:20:13 +02:00
Shivansh Anand
8c66d80099
Make Quick Open substring match more specific.
...
When finding a substring, the rating is biased towards substrings
at the end of the path.
Fixes #33504 .
2020-04-29 10:12:32 +02:00
Aaron Franke
540156b387
[Core] Rename linear_interpolate to lerp
2020-04-29 04:02:49 -04:00
Rémi Verschelde
41af228b76
Merge pull request #36960 from pycbouh/docs-improve-shortcuts
...
Improve shortcut formatting in docs
2020-04-29 09:40:52 +02:00
Rémi Verschelde
2ed231521b
Merge pull request #37705 from dreamsComeTrue/editor-animation-player-improvements
...
Allow to rename animation just after it was duplicated in Editor
2020-04-29 09:37:53 +02:00
1abinitio1
712a5aff1d
Add option for editor freelook camera sensitivity
2020-04-29 09:36:29 +02:00
Rémi Verschelde
fa34b8eda2
Merge pull request #37965 from EricEzaM/drag-multiple-resources-onto-array-export
...
Drag multiple resources onto exported array variable at once
2020-04-29 09:20:18 +02:00
Rémi Verschelde
4b5d4bbe48
Merge pull request #38235 from BigRed-118/help_tabs_shuffle_fix
...
Fixed shuffling editor help tabs
2020-04-29 09:06:00 +02:00
Rémi Verschelde
75e4ccc00e
Merge pull request #36427 from nekomatata/scene-thumbnail-flipped
...
Fixed flipped scene preview thumbnail
2020-04-28 21:59:12 +02:00
Rémi Verschelde
2497740a4e
Merge pull request #37273 from akien-mga/gltf-tangent-fix-32712
...
glTF: Fix tangent generation for non-blend shapes
2020-04-28 20:32:37 +02:00
Rémi Verschelde
fdf58a5858
Rename InputFilter back to Input
...
It changed name as part of the DisplayServer and input refactoring
in #37317 , with the rationale that input no longer goes through the
main loop, so the previous Input singleton now only does filtering.
But the gains in consistency are quite limited in the renaming, and
it breaks compatibility for all scripts and tutorials that access
the Input singleton via the scripting language. A temporary option
was suggested to keep the scripting singleton named `Input` even if
its type is `InputFilter`, but that adds inconsistency and breaks C#.
Fixes godotengine/godot-proposals#639 .
Fixes #37319 .
Fixes #37690 .
2020-04-28 15:19:49 +02:00
Rémi Verschelde
717f053e37
Merge pull request #38121 from JFonS/add_unwrap_caching
...
Add caching the lightmap unwrapping on import
2020-04-27 18:51:32 +02:00
Rémi Verschelde
3fff0dda39
i18n: Sync translations with Weblate
...
(cherry picked from commit ae958b89ab
)
2020-04-27 10:38:22 +02:00
Tom Evans
fe53c1b0bd
Fixed shuffling editor help tabs
...
The indexes for the ScriptEditorItemData entries were not getting
updated after sorting. This would cause a page to be open but with a
different tab selected. Whenever _update_script_names was called next,
it would correct this indexing. Now we correct it immediately following
the tab sort.
2020-04-26 12:23:00 -05:00
Hugo Locurcio
72da1667e0
Improve path search behavior discoverability in the project manager
...
This closes #38185 .
2020-04-25 21:59:38 +02:00
Michael Alexsander
d239196fc7
Tweak Decal icon slightly
2020-04-24 22:40:06 -03:00
Rémi Verschelde
a09e035695
Merge pull request #37107 from RandomShaper/imvu/export_vmem
...
Add ability to export debugger's VRAM usage report
2020-04-25 00:32:00 +02:00
Rémi Verschelde
10e5427cc2
Merge pull request #38165 from YeldhamDev/multitrack_time_fix
...
Fix crash when changing time value of multiple animation keys at once via inspector
2020-04-25 00:02:29 +02:00
Rémi Verschelde
12c36e2761
Merge pull request #37862 from YeldhamDev/decal_icon
...
Add icon for the Decal node
2020-04-24 17:29:54 +02:00
Pedro J. Estébanez
a037232a67
Add ability to export VRAM usage as CSV
2020-04-24 09:37:42 +02:00
Michael Alexsander
b081e954cc
Fix crash when changing time value of multiple animation keys at once via inspector
2020-04-23 21:45:50 -03:00
JFonS
f7dadc4796
Add caching the lightmap unwrapping on import
...
This commit adds caching to the lightmap mesh unwraps generated on
import. This speeds up re-imports of meshes that haven't changed and
also makes sure that the unwraps are consistent across imports.
The unwrapping process is not deterministic, so one could end up with
a different mapping every time the scene was imported, breaking any
previously baked lightmaps. The changes in this commit prevent that
from happening.
2020-04-22 15:34:00 +02:00
dankan1890
ef08e64afb
Fixed output prints " Signal 'node_removed' is already connected " when the editor settings window is closed.
...
Close #38012
2020-04-22 04:26:44 +02:00
Rémi Verschelde
9a283f7e71
Merge pull request #37202 from JFonS/update_joint_gizmos
...
Update Joint gizmos automatically
2020-04-21 23:04:04 +02:00
jfons
3e77b6d49d
Update Joint gizmos automatically
2020-04-21 21:51:33 +02:00
Rémi Verschelde
bb9d89d78c
Merge pull request #38089 from YeldhamDev/scenedock_local_fix
...
Fix "Local" button not being pressed in the Scene dock on first run
2020-04-21 21:17:35 +02:00
Michael Alexsander
f1244ce944
Fix "Local" button not being pressed in the Scene dock on first run
2020-04-21 15:03:42 -03:00
Juan Linietsky
f8ef38efed
Add proper type to most public API uses of Array
2020-04-21 12:16:45 -03:00
Juan Linietsky
5d4dc2d45c
Add ability to bind typed arrays to script API
...
Note: Only replaced 2 instances to test, Node.get_children and TileMap.get_used_cells
Note: Will do a mass replace on later PRs of whathever I can find, but probably need
a tool to grep through doc.
Warning: Mono will break, needs to be fixed (and so do TypeScript and NativeScript, need to ask respective maintainers)
2020-04-21 10:15:40 +02:00
Rémi Verschelde
7343ec13d9
Merge pull request #38047 from akien-mga/mono-docdata-hack
...
DocData: Keep Mono properties on non-Mono builds
2020-04-21 09:55:36 +02:00
Juan Linietsky
ae09b55a19
Exposed RenderingDevice to script API
...
Also added an easier way to load native GLSL shaders.
Extras:
Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.
Note:
The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
2020-04-20 21:21:58 -03:00
Rémi Verschelde
6d8e1aea89
Merge pull request #37989 from Calinou/add-freelook-navigation-scheme-settings
...
Add editor freelook navigation scheme settings
2020-04-20 23:57:34 +02:00
Rémi Verschelde
b30014f93f
DocData: Keep Mono properties on non-Mono builds
...
This doesn't make much sense API-wise, but it's important for the documentation
workflow that the Mono and non-Mono builds produce the same output, otherwise
we keep having non-Mono builds removing Mono properties and losing their
descriptions.
This is a terrible hack but it's ad hoc, and should be OK for the time being.
2020-04-20 17:59:07 +02:00
Rémi Verschelde
2cd952bd84
Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
...
Subgroups were added in #37678 but not properly handled everywhere
where PROPERTY_USAGE_GROUP is.
2020-04-20 17:13:06 +02:00
Rémi Verschelde
0ef8bcac4d
DocData: Skip unexposed classes
...
Properly expose classes that we actually want accessible.
2020-04-20 12:51:10 +02:00
Juan Linietsky
49d0c6a5c9
Ability to create local RenderingDevice instances.
2020-04-18 21:47:17 -03:00
Hugo Locurcio
8a48fb3517
Add editor freelook navigation scheme settings
...
Depending on what one is trying to achieve, a different freelook mode
may be more desirable.
This closes #34034 .
2020-04-18 16:24:12 +02:00
qarmin
559bc3ca87
Change non-existent World to World3D
2020-04-18 11:00:51 +02:00
Eric M
b9d10c5743
Added properties and methods to allow for dragging and dropping multiple files onto exported arrays.
2020-04-18 10:50:30 +10:00
Rémi Verschelde
17304f1aae
Merge pull request #37949 from reduz/implement-global-shader-uniforms
...
Implement global and per instance shader uniforms.
2020-04-17 18:36:06 +02:00
Juan Linietsky
0e1c66d9fc
Implement global and per instance shader uniforms.
...
Adds two keywords to shader language for uniforms:
-'global'
-'instance'
This allows them to reference values outside the material.
2020-04-17 12:35:41 -03:00
Rémi Verschelde
3c3795279f
i18n: Sync translations with Weblate
...
(cherry picked from commit 471a5abbf3
)
2020-04-17 13:41:23 +02:00
Rémi Verschelde
45a036feec
Merge pull request #37012 from Calinou/reverse-builtin-script-naming
...
Tweak the built-in script naming for resources with custom names
2020-04-16 12:38:54 +02:00
Eric M
7f5fb73146
Added selection outline to locked nodes.
2020-04-15 22:03:12 +10:00
Rémi Verschelde
5e5103f460
Merge pull request #37861 from reduz/implement-decals
...
Implement decals
2020-04-14 17:13:20 +02:00
Juan Linietsky
5944eb6e7f
Implement decals
...
Also implemented decal atlas, so projectors and other stuff can be added.
Sidenote: Had to make RID hashable, so some unrelated includes changed
in order to include it in hashfuncs.h
2020-04-14 11:13:34 -03:00
Michael Alexsander
0adbc43ab9
Add icon for the Decal node
2020-04-14 01:08:38 -03:00
Rémi Verschelde
644bc87240
Merge pull request #37843 from qarmin/unitialized_crash
...
Fixed crash caused by uninitialised variable
2020-04-13 13:53:44 +02:00
qarmin
c937fe5237
Fixed crash caused by unitialized variable
2020-04-13 12:11:55 +02:00
Rémi Verschelde
1888ab594b
Merge pull request #37823 from MCrafterzz/relativeSnap
...
Relative scale snapping 2D
2020-04-13 12:10:25 +02:00
Marcus Elg
795cba2d73
Relative scale snapping 2D
2020-04-13 10:16:54 +02:00
Nico Mitchell
7211ad73bc
Remove separators from particles menus
2020-04-12 22:15:20 -04:00
Rémi Verschelde
06748a2b5f
Merge pull request #37749 from clayjohn/Vulkan-improved-ss
...
Add vogel filter and settings to soft shadows
2020-04-13 00:39:37 +02:00
Juan Linietsky
a57dc398db
Implement MSAA
2020-04-12 15:33:57 -03:00
Juan Linietsky
16ae2cc1bf
Add screen space AA option, with FXAA implementation.
2020-04-12 10:57:18 -03:00
clayjohn
621f6f09a8
Add proper quality settings to soft shadows
2020-04-10 23:09:17 -07:00
Juan Linietsky
d06f8ef75a
Shows proper scene render time in editor info
...
Also fixed GPU profiler, which was not working on nvidia hardware.
2020-04-10 14:19:30 -03:00
Yuri Sizov
1ea7295bd2
Improve shortcut formatting in docs
2020-04-10 18:42:11 +03:00
Kiri Jolly
cc27b4560f
Othographic camera in-editor now uses Z near/far settings instead of a hardcoded value
...
Fixes #18809 .
The in-editor ortho camera used a far clipping plane of 8192 units, and was
placed 4096 units away from the camera cursor.
This was far enough to cause culling issues from floating point precision loss
on objects smaller than one unit.
This change modifies the near/far clipping planes of the ortho camera to use
those specified in the editor (and currently used by the perspective camera).
The frustum is still centered around the camera cursor location, as it was
before.
(cherry picked from commit 26912c15e6
)
2020-04-10 17:19:49 +02:00
Rémi Verschelde
e383798327
Merge pull request #37344 from YeldhamDev/dialog_node_icons
...
Updade dialog node's icons
2020-04-10 13:13:24 +02:00
Rémi Verschelde
60f77fa059
Merge pull request #37509 from wazzy47/issue_36228
...
Add "preview_on_sphere" setting of material editor plugin
2020-04-10 12:08:51 +02:00
Rémi Verschelde
5566c5eb8d
Merge pull request #37517 from nekomatata/slider-grab-area-highlight
...
Add style for highlighted Slider grab area
2020-04-10 12:08:02 +02:00
Rémi Verschelde
29651de583
Merge pull request #37565 from Calinou/builtin-script-warn-limitations
...
Warn about built-in script limitations in the script creation dialog
2020-04-10 12:02:57 +02:00
Rémi Verschelde
8d02dadaaa
Merge pull request #37602 from Janglee123/reversed-zoom-scale-animtion-player
...
Reversed timeline zoom slider of AnimationPlayer
2020-04-10 11:55:33 +02:00
Dominik 'dreamsComeTrue' Jasiński
235f13dc51
Allow to rename animation just after it was duplicated & show animation name in Delete prompt
2020-04-10 11:48:55 +02:00
Thakee Nathees
1532eefd4e
ARVR -> XR rename icon missing fixed
...
Fix : #37716
2020-04-10 02:11:21 +05:30
Juan Linietsky
26ecd924cc
Merge pull request #37678 from reduz/refactor-shadowmapping
...
Refactored shadowmapping.
2020-04-08 13:59:10 -03:00
Juan Linietsky
4ffc0d6b3f
Refactored shadowmapping.
...
- Made shadow bias size independent, so it will remain when changing light or camera size.
- Implemented normal offset bias, which greatly enhances quality.
- Added transmission to subsurface scattering
- Reimplemented shadow filter modes
Closes #17260
2020-04-08 11:19:43 -03:00
Rémi Verschelde
d89dc5794a
Merge pull request #37644 from JFonS/gizmos_rename
...
Rename all gizmo classes, using the 4.0 node names.
2020-04-08 10:54:42 +02:00
unknown
db78ad6f2a
Fix signal disconnection soon after connection in EditorQuickOpen
2020-04-08 14:08:50 +05:30
janglee
3f23e1d600
Reversed timeline zoom slider
...
Fixes #37409
2020-04-07 16:14:23 +05:30
jfons
3841a64703
Rename all gizmo classes, using the 4.0 node names.
2020-04-07 10:02:18 +02:00
Rémi Verschelde
5433188f76
Merge pull request #37592 from Anutrix/dissolving_class
...
Dissolving class EditorLineEditFileChooser into EditorAutoloadSettings.
2020-04-07 09:15:21 +02:00
Rémi Verschelde
fedf9c5c94
Merge pull request #37643 from YeldhamDev/help_tooltip_paneless
...
Remove unnecessary panel in EditorHelpBit
2020-04-07 08:48:37 +02:00
Michael Alexsander
446ca21efa
Remove unnecessary panel in EditorHelpBit
2020-04-06 18:40:06 -03:00
Rémi Verschelde
0d4d96d4b0
Merge pull request #37639 from qarmin/no_more_leaks
...
Fixes leaks when running editor
2020-04-06 21:25:36 +02:00
qarmin
5cbab81564
Fixes leaks when running editor
2020-04-06 20:07:08 +02:00
Yuri Roubinsky
e0a9879ce4
Merge pull request #37623 from Chaosus/vs_fix_keyword_name
...
Adds warning to the uniform name in visual shader if its equal to keyword
2020-04-06 14:15:20 +03:00
Yuri Roubinsky
8dfe6716ec
Adds warning to the uniform name in visual shader if its equal to keyword
2020-04-06 12:29:50 +03:00
Rémi Verschelde
e14464caeb
Merge pull request #37447 from ThakeeNathees/text-replace-empty-string-fix
...
replace selected text with empty string bug fixed
2020-04-06 11:28:42 +02:00
Rémi Verschelde
32d9d6e7ff
Merge pull request #37621 from dankan1890/autoslice_fix
...
Fixed TextureRegion autoslice issue.
2020-04-06 11:28:18 +02:00
dankan1890
671e97d254
TextureRegion: fixed Autoslice not created/updated properly.
2020-04-06 10:36:59 +02:00
Rémi Verschelde
6b07c72d76
Merge pull request #37556 from KoBeWi/kill_get_index
...
Remove Node.get_position_in_parent()
2020-04-06 09:44:38 +02:00
Rémi Verschelde
11f31a7329
Merge pull request #37613 from pycbouh/linkbutton-missing-colors
...
Add missing LinkButton colors in Editor Theme
2020-04-06 09:17:50 +02:00
Thakee Nathees
2144eb05df
replace selected text with empty string bug fixed
...
Fix : #37416
2020-04-06 07:30:20 +05:30
Tomasz Chabora
c1023157eb
Remove Node.get_position_in_parent()
2020-04-06 01:19:20 +02:00
Yuri Sizov
0671d7b276
Added missing LinkButton colors in Editor Theme
2020-04-05 22:57:12 +03:00
Michael Alexsander
6d6af0ea06
Fix changing the import type of multiple files at once
2020-04-05 15:13:29 -03:00
unknown
600f7cb97c
Dissolving class EditorLineEditFileChooser into EditorAutoloadSettings.
2020-04-05 14:10:30 +05:30
Michael Alexsander
a1a096eb09
Remove unnecessary Panel in "Features" section in the Export dialog
2020-04-05 00:08:53 -03:00
Rémi Verschelde
da887714be
Merge pull request #37570 from reduz/implement-sss
...
Re-implement subsurface scattering.
2020-04-04 17:14:48 +02:00
Juan Linietsky
c54f80d35c
Re-implement subsurface scattering.
...
The size settings are more "just works", with default scale and depth scale
values that don't need much tweaking.
Additionally, a "skin" mode was added so skin looks better.
EDIT: Cleaned up SSR filter shader a bit.
2020-04-04 11:44:28 -03:00
Michael Alexsander
ae34c53590
Take borders into account with floating dock initial position/size
2020-04-04 09:48:59 -03:00
Hugo Locurcio
ac210e196c
Warn about built-in script limitations in the script creation dialog
...
This partially addresses #31758 .
2020-04-04 13:44:13 +02:00
Vasiliy
48b144afb7
Add "preview_on_sphere" setting of material editor plugin
2020-04-04 12:36:05 +03:00
Rémi Verschelde
9abb415d92
Merge pull request #37391 from dreamsComeTrue/embedded-windows-mode
...
Expose 'Embedded Windows Mode' as Editor and Project Settings
2020-04-04 07:58:53 +02:00
Dominik 'dreamsComeTrue' Jasiński
7af84d7213
Expose 'Embedded Windows Mode' as Editor and Project Settings
2020-04-03 21:15:22 +02:00
qarmin
7d19939203
Removed duplicated add_child
2020-04-03 19:48:40 +02:00
Rémi Verschelde
4a0e99f197
Merge pull request #37363 from YeldhamDev/floating_dock_enhancements
...
General enhancements to floating docks
2020-04-03 17:39:30 +02:00
Rémi Verschelde
59d44ee872
Merge pull request #37505 from YeldhamDev/viewcont_rename
...
Rename ViewportContainer to SubViewportContainer
2020-04-03 15:53:35 +02:00
Rémi Verschelde
b50387c8bf
Merge pull request #37521 from akien-mga/more-nullptr
...
Replace more occurrences of NULL with nullptr
2020-04-02 17:37:09 +02:00
Rémi Verschelde
6a38ce1b31
Merge pull request #37512 from reduz/implement-ssr
...
Re-Added screen space reflection.
2020-04-02 17:17:27 +02:00
Rémi Verschelde
f1e943f6ce
Merge pull request #35720 from Calinou/remove-request-docs-button
...
Remove Request Docs button in the script editor due to various issues
2020-04-02 16:45:01 +02:00
Juan Linietsky
87c658b304
Re-Added screen space reflection.
2020-04-02 11:25:21 -03:00
PouleyKetchoupp
4c8173af0f
Add style for highlighted Slider grab area
2020-04-02 15:05:46 +02:00
Rémi Verschelde
ea7b497065
Replace more occurrences of NULL with nullptr
2020-04-02 14:56:01 +02:00
Hugo Locurcio
2f6f029a75
Remove Request Docs button in the script editor due to various issues
...
The Request Docs button is partly responsible for layout overflow
issues on narrow displays, such as #31133 .
It also tended to attract spam and low-effort issues that were
difficult to act upon. A "Send Docs Feedback" menu option has been added
to replace it.
2020-04-02 14:07:03 +02:00
lupoDharkael
95a1400a2a
Replace NULL with nullptr
2020-04-02 13:38:00 +02:00
Michael Alexsander
0c6851ae53
Rename ViewportContainer to SubViewportContainer
2020-04-01 16:11:44 -03:00
Rémi Verschelde
3a996faeed
Merge pull request #37442 from YeldhamDev/subviewport_register
...
Register SubViewport class
2020-03-31 16:29:41 +02:00
Rémi Verschelde
8dd58a6157
Merge pull request #37153 from neikeq/mono_ios-4.0
...
[master] Mono/C#: Add iOS support
2020-03-31 14:17:27 +02:00
Rémi Verschelde
0a2fa4d892
Fix more -Wmaybe-uninitialized warnings with target=release_debug
...
I have no idea why those don't get triggered in target=debug builds.
Fixes #37461 .
2020-03-31 13:52:42 +02:00
Ignacio Etcheverry
77dd061345
Mono/C#: Add iOS support
...
Right now, games only work on devices when exported with FullAOT+Interpreter.
There are some issues left that need to addressed for FullAOT alone. Right now,
it's giving issues with the Godot.NativeCalls static constructor.
2020-03-31 09:37:16 +02:00
Michael Alexsander
46a6751302
Register SubViewport class
2020-03-30 16:43:55 -03:00
Rémi Verschelde
f3c74afd28
Merge pull request #37436 from akien-mga/doc-node-renames
...
doc: Update classref with node renames
2020-03-30 20:32:11 +02:00
Rémi Verschelde
eaaee63b62
doc: Update classref with node renames
...
A few extra renames for classes which were missed in last week's PRs.
2020-03-30 18:23:02 +02:00
Juan Linietsky
89e1263117
Move glow upscale quality to a global setting, for consistency
2020-03-30 10:46:03 -03:00
Rémi Verschelde
cd4e46ee65
SCons: Format buildsystem files with psf/black
...
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.
2020-03-30 09:05:53 +02:00
Tomasz Chabora
37ffb40047
Properly handle node remove via undo
2020-03-29 19:59:04 +02:00
Michael Alexsander
805ee0ee6c
General enhancements to floating docks
2020-03-27 16:49:41 -03:00
Juan Linietsky
a6f3bc7c69
Renaming of servers for coherency.
...
VisualServer -> RenderingServer
PhysicsServer -> PhysicsServer3D
Physics2DServer -> PhysicsServer2D
NavigationServer -> NavigationServer3D
Navigation2DServer -> NavigationServer2D
Also renamed corresponding files.
2020-03-27 15:21:27 -03:00
Juan Linietsky
307b1b3a58
Merge pull request #37340 from reduz/rename-3d-nodes
...
Make 2D and 3D node names more explicit
2020-03-27 13:47:15 -03:00
Rémi Verschelde
d1acbbce7f
Rename more 2D and 3D nodes to follow convention
...
Rename editor plugins to match the new node names.
2020-03-27 16:26:34 +01:00
Juan Linietsky
eaae4b6408
Renamed 2D and 3D nodes to make their types explicit
...
Fixes #30736 .
2020-03-27 14:54:04 +01:00
bruvzg
21c2116744
Fix default editor font.
...
Fix popup_centered_clamped definition typo.
2020-03-27 14:13:01 +02:00
Michael Alexsander
d15e1dafbd
Updade dialog node's icons
2020-03-26 22:44:49 -03:00
Dominik 'dreamsComeTrue' Jasiński
55e5fa427a
Request immediate refresh of cursor in 2D editor while using shortcuts
...
Fixes : #37333
2020-03-26 21:35:12 +01:00
bruvzg
15a9f94346
Add macOS DisplayServer implementation.
...
Change global menu to use Callable, add support for check items and submenus.
2020-03-26 16:24:05 +01:00
Mateo Kuruk Miccino
f387b9b4f4
Multiple changes to DisplayServerX11
...
- Travis: Change x11 to linuxbsd
- SCons: Change x11 plataform to linuxbsd
- Plugins: Remove ; to avoid fallthrough warning
- DisplayServerX11: Implement set_icon
- DisplayServerX11: Fix X11 bug when a window was erased from windows
map, all the changes from that erased windows are sending to the main
window
- DisplayServerX11: Reorder create_window commands
- DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i
where it belongs
+ More X11 fixes which have been integrated directly back into reduz's
original commits while rebasing the branch.
2020-03-26 15:49:54 +01:00
Juan Linietsky
047e0b7de5
Reworked tooltips to use the popup system.
2020-03-26 15:49:45 +01:00
Juan Linietsky
b3080bc2f4
Popups have also been converted to windows
...
Controls using the old modal API have been replaced to use popups.
2020-03-26 15:49:44 +01:00
Juan Linietsky
c7b4dcae2f
Open sub-windows as embedded if the OS does not support them
2020-03-26 15:49:43 +01:00
Juan Linietsky
441f1a5fe9
Popups are now windows also (broken!)
2020-03-26 15:49:42 +01:00
Juan Linietsky
4758057f20
Working multiple window support, including editor
2020-03-26 15:49:40 +01:00
Juan Linietsky
8e6960a69e
Refactored input, goes all via windows now.
...
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26 15:49:39 +01:00
Juan Linietsky
9e08742de8
Added a Window node, and made it the scene root.
...
Still a lot of work to do.
2020-03-26 15:49:38 +01:00
Juan Linietsky
f8a79a97c7
Effective DisplayServer separation, rename X11 -> LinuxBSD
2020-03-26 15:49:34 +01:00
Juan Linietsky
4396e98834
Refactored Input, create DisplayServer and DisplayServerX11
2020-03-26 15:49:32 +01:00
Rémi Verschelde
24fa0d871d
Merge pull request #37294 from akien-mga/scons-drop-python2
...
SCons: Drop support for Python 2
2020-03-26 09:28:11 +01:00
Yuri Roubinsky
1358febfa1
Merge pull request #37287 from Chaosus/vs_sky
...
Added sky shader mode to visual shaders
2020-03-26 08:38:19 +03:00
Yuri Roubinsky
898b843718
Added sky shader mode to visual shaders
2020-03-25 19:04:42 +03:00
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
Rémi Verschelde
0034c88c57
glTF: Fix tangent generation for non-blend shapes
...
PR #30877 was bogus as it made a blend shape-specific code block apply
to everything but blend shapes (as it seemed not to work properly *for*
blend shapes).
The proper fix should thus be to simply remove the problematic
block (and thus cleanup unnecessary logic).
Fixes #32712 .
2020-03-24 11:25:06 +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
Hugo Locurcio
4a1f22d1ec
Improve the editor feature profiles UX
...
- Add an help message when no profile is selected.
- This replaces the class/property trees which are now hidden
when no profile is selected.
- Display `(none)` as the current profile when no profile is
currently active.
- Make the newly created/imported profile the current if it's the
first profile to be added to the list.
- Make more strings localizable.
2020-03-22 21:56:39 +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
Hugo Locurcio
e90beade15
Tweak the built-in script naming for resources with custom names
...
This makes the script name appear before the scene file name,
which ensures it's always visible even if the list of scripts is too
narrow to display the full name.
This only impacts built-in scripts with custom resource names.
Unnamed resources will still use `<scene_file>::<id>` naming
in the list of scripts.
2020-03-13 15:20:42 +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