Aaron Franke
68d73ecf60
Document EditorPlugin get_plugin_icon and get_plugin_name
...
The return value's type hint is now accurate.
2020-03-04 15:49:20 -05:00
Rémi Verschelde
f83f1d7c9b
Merge pull request #36069 from RandomShaper/imvu/improve_drives_ux
...
Improve UX of drive letters
2020-03-04 13:19:55 +01:00
Rémi Verschelde
c90ec71bcd
Merge pull request #36699 from dreamsComeTrue/fix-extension-file-dialog
...
Take correct part of extension with File Dialog
2020-03-04 10:36:20 +01:00
Gil Arasa Verge
e060e0992a
Double click on a folder didn't open it (editor)
...
Same behavior as #36684 .
Removed by mistake in #36426 .
Fixes #36757 .
2020-03-03 19:43:37 +01:00
Pedro J. Estébanez
9a3a2b03b8
Drop old semaphore implementation
...
- Removed platform-specific implementations.
- Now all semaphores are in-object, unless they need to be conditionally created.
- Similarly to `Mutex`, provided a dummy implementation for when `NO_THREADS` is defined.
- Similarly to `Mutex`, methods are made `const` for easy use in such contexts.
- Language bindings updated: `wait()` and `post()` are now `void`.
- Language bindings updated: `try_wait()` added.
Bonus:
- Rewritten the `#ifdef` in `mutex.h` to meet the code style.
2020-03-03 13:20:42 +01:00
Rémi Verschelde
48ed841dd0
Signals: Fix some regressions from #36426
...
- Fix `callable_mp` bindings to methods which used to have default
arguments passed to `bind_method`. We now have to re-specify them
manually when connecting.
- Re-add `GroupsEditor::update_tree` binding.
- Misc code quality changes along the way.
2020-03-03 11:44:06 +01:00
Pedro J. Estébanez
aee586553a
Improve UX of drive letters
...
Namely, move the drive dropdown to just the left of the path text box and don't include the former
in the latter.
This improves the UX on Windows.
In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its
dropdown is kept at the original location.
2020-03-03 10:38:34 +01:00
Hugo Locurcio
fda2558ff7
Tweak the GIProbe gizmo to be more subtle
2020-03-02 23:22:50 +01:00
Hugo Locurcio
46bc1a7c3f
Improve the GIProbe editor contextual label
...
- Change the label color depending on the estimated performance
(green = fast, yellow = average, red = slow).
- Use the Unicode multiplication symbol.
- Make the label translatable.
2020-03-02 22:09:38 +01:00
fhuya
5b80dc9a2a
Fix android template install validation.
2020-03-02 10:53:05 -05:00
Rémi Verschelde
e2b66cacf7
Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodes
...
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-03-01 23:00:42 +01:00
Rémi Verschelde
55396d6e06
Merge pull request #36621 from WizardOhio24/fix-wrong-selection-on-line-clone-down
...
Fix wrong selection on cloning a line down in the editor
2020-03-01 15:53:55 +01:00
Dominik 'dreamsComeTrue' Jasiński
319840bad1
Take correct part of extension with File Dialog
...
Fixes #36697
2020-03-01 09:44:48 +01:00
Richard Menzies
28f74327be
Fix wrong selection on cloning a line down in the editor
2020-02-29 16:29:48 +00:00
Rémi Verschelde
1399747532
Merge pull request #36667 from simpuid/paste-params-undo-feature
...
Implement undo-redo feature for Parameter Paste in the Inspector
2020-02-29 14:12:54 +01:00
simpuid
f817ba8379
Implement undo-redo feature for Parameter Paste in the Inspector
...
EditorData::undo_redo.add_do_property and EditorData::undo_redo.add_undo_property is used in EditorData::paste_object_params to implement this feature. It's action name is set to "Paste Params"
Changes made
* Removed the call for clearing the history on paste params case.
* Instead of directly setting the properties value, EditorData::undo_redo is used.
2020-02-29 16:52:12 +05:30
Rémi Verschelde
cb91f8d971
Merge pull request #36406 from nathanwfranke/revert-fix-signal-errors
...
Partial revert "Fix two signal errors"
2020-02-29 12:11:53 +01:00
Rémi Verschelde
cafa4ae3bd
Merge pull request #36653 from YeldhamDev/icons_for_the_icon_god
...
Add more missing icons (and adjust a few)
2020-02-28 22:07:50 +01:00
Michael Alexsander
687f72ba28
Add more missing icons (and adjust a few)
2020-02-28 15:00:10 -03:00
Rémi Verschelde
32ccf306f9
ConnectionsDock: Fix error when parsing CustomCallable connections
2020-02-28 14:32:36 +01:00
Rémi Verschelde
09a6a2d8f8
Signals: Port more uses of connect_compat
...
Those were problematic as they call a method of their parent class,
but callable_mp does not allow that unless it's public.
To solve it, we declare a local class that calls the parent class'
method, which now needs to be protected to be accessible in the
derived class.
2020-02-28 14:24:09 +01:00
Mateo Dev .59
b8f08b42e7
Signals: Fix signals error prints for the new signal system
2020-02-28 14:24:09 +01:00
Rémi Verschelde
f742dabafe
Signals: Manually port most of remaining connect_compat uses
...
It's tedious work...
Some can't be ported as they depend on private or protected methods
of different classes, which is not supported by callable_mp (even if
it's a class inherited by the current one).
2020-02-28 14:24:09 +01:00
Rémi Verschelde
01afc442c7
Signals: Port connect calls to use callable_mp
...
Remove now unnecessary bindings of signal callbacks in the public API.
There might be some false positives that need rebinding if they were
meant to be public.
No regular expressions were harmed in the making of this commit.
(Nah, just kidding.)
2020-02-28 14:24:09 +01:00
Tomasz Chabora
225622e5e3
Add unique icon to Polygon2D
2020-02-28 12:01:39 +01:00
Rémi Verschelde
42ffcaa4f7
Merge pull request #36630 from YeldhamDev/import_dock_checking_preset
...
Fix import changing disabling checking on multiple files
2020-02-28 10:13:22 +01:00
Rémi Verschelde
4f64f3401a
Merge pull request #36388 from AndreaCatania/some_renames
...
Rename Navigation{Mesh,Polygon}Instance and PlaneShape for clarity
2020-02-28 09:15:38 +01:00
Andrea Catania
483994601d
Renamed NavigationPolygonInstance to NavigationRegion2D
2020-02-28 08:28:53 +01:00
Michael Alexsander
d35386263f
Fix import changing disabling checking on multiple files
2020-02-28 00:03:55 -03:00
Rémi Verschelde
b7b3978684
Merge pull request #36556 from RandomShaper/rework_mutex
...
Reimplement `Mutex` with C++'s `<mutex>` (plus more)
2020-02-28 00:26:01 +01:00
Rémi Verschelde
2d904d2f80
Merge pull request #36232 from Calinou/add-soft-line-length-guideline
...
Add a soft line length guideline to the script editor
2020-02-27 21:10:42 +01:00
Rémi Verschelde
eaf909dcf9
Merge pull request #36490 from Calinou/assetlib-error-version-compatibility
...
Mention version compatibility when there are no results in the assetlib
2020-02-27 21:08:39 +01:00
Rémi Verschelde
38c78a9ab6
Merge pull request #36333 from Calinou/decrease-script-editor-split-width
...
Decrease the script editor's default split width to 70
2020-02-27 20:54:23 +01:00
Rémi Verschelde
fec9a76aba
Merge pull request #36546 from YeldhamDev/inspector_tooltip_no_doubles
...
Don't show a copy of the property's name in the inspector's tooltip if there's no description
2020-02-27 20:53:51 +01:00
Rémi Verschelde
eced623c57
Fix build after merge of #36077
2020-02-27 20:51:43 +01:00
Rémi Verschelde
7530824cc4
Merge pull request #36077 from pycbouh/repeat-search-in-files
...
Add a button to quickly repeat last search in files
2020-02-27 20:19:55 +01:00
Andrea Catania
2e0fb66c6f
Renamed PlaneShape to WorldMarginShape
2020-02-27 17:45:16 +01:00
Andrea Catania
3b64ecbc4b
Renamed NavigationMeshInstance to NavigationRegion
2020-02-27 17:42:53 +01:00
Rémi Verschelde
ac446570d6
Merge pull request #36545 from nathanwfranke/syntax-highlight-int-types
...
Fix autocomplete and highlighting for new integer types
2020-02-27 14:20:10 +01:00
Rémi Verschelde
e0e4610ace
Merge pull request #36591 from aaronfranke/key-order
...
Make internal editor key order consistent
2020-02-27 14:17:29 +01:00
Yuri Roubinsky
7aaad99afb
Place paste after copy in new popup menu in visual shader
...
+ renamed _on_nodes_delete to _delete_nodes
2020-02-27 13:55:41 +03:00
Yuri Roubinsky
2d548b4d1a
Added popup menu for some actions in visual shaders
2020-02-27 12:54:26 +03:00
Aaron Franke
b8a79d7530
Make internal editor key order consistent
...
Godot already displays controls in the order Control+Shift+Alt, so the order used with the bitmask flags should be the same.
2020-02-27 03:32:58 -05:00
nathanwfranke
2dd498df70
Fix autocomplete and GDScript Highlighting for types
...
Types include new integer types and others
2020-02-26 16:13:28 -06:00
Hugo Locurcio
7348dfb5b7
Fix a typo in the "Create Single Convex Collision Sibling" option
2020-02-26 22:25:55 +01:00
Pedro J. Estébanez
18fbdbb456
Reimplement Mutex with C++'s <mutex>
...
Main:
- It's now implemented thanks to `<mutex>`. No more platform-specific implementations.
- `BinaryMutex` (non-recursive) is added, as an alternative for special cases.
- Doesn't need allocation/deallocation anymore. It can live in the stack and be part of other classes.
- Because of that, it's methods are now `const` and the inner mutex is `mutable` so it can be easily used in `const` contexts.
- A no-op implementation is provided if `NO_THREADS` is defined. No more need to add `#ifdef NO_THREADS` just for this.
- `MutexLock` now takes a reference. At this point the cases of null `Mutex`es are rare. If you ever need that, just don't use `MutexLock`.
- Thread-safe utilities are therefore simpler now.
Misc.:
- `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same.
- Every case of lock, do-something, unlock is replaced by `MutexLock` (complex cases where it's not straightfoward are kept as as explicit lock and unlock).
- `ShaderRD` contained an `std::mutex`, which has been replaced by `Mutex`.
2020-02-26 20:40:10 +01:00
Rémi Verschelde
afa773f388
Merge pull request #36564 from dankan1890/quick_fix
...
Fixed TextureAtlas import size.
2020-02-26 19:07:43 +01:00
Rémi Verschelde
fc850b956b
Merge pull request #36563 from Chaosus/fix_resizer_color
...
Fix resizer icon color in VisualScripts/Shaders when graph headers is on
2020-02-26 19:07:34 +01:00
Rémi Verschelde
bd4497db75
Merge pull request #36562 from AndreaCatania/anim_crash_fix
...
Fixed editor crash when the animation player has no root assigned.
2020-02-26 19:07:05 +01:00
Yuri Roubinsky
9cfd2ed564
Fix resizer icon color in VisualScripts/Shaders when graph headers is on
2020-02-26 17:48:58 +03:00
Michael Alexsander
28d3f85e64
Don't show a copy of the property's name in the inspector's tooltip if there's no description
2020-02-26 11:03:42 -03:00
Andrea Catania
c9b86d54bf
Fixed editor crash when the animation player has no root assigned.
2020-02-26 14:50:22 +01:00
Yuri Roubinsky
1e8108310a
Changed float type to int for INDEX visual shader input
2020-02-26 16:39:42 +03:00
Maurizio Petrarota
744c1fafff
Fixed TextureAtlas import.
2020-02-26 14:35:57 +01:00
Rémi Verschelde
1e57b558f2
Merge pull request #36536 from Chaosus/vs_int
...
Add support for integer type in visual shaders
2020-02-26 10:11:24 +01:00
Yuri Roubinsky
4a3d277623
Add support for integer type in visual shaders
2020-02-26 10:12:06 +03:00
Rémi Verschelde
0e724fc871
Merge pull request #36538 from YeldhamDev/packed_arrays_bits_icons
...
Update PackedInt/FloatArray icons for the new types
2020-02-25 20:10:10 +01:00
Michael Alexsander
19d7428db6
Update PackedIint/FloatArray icons for the new types
2020-02-25 14:46:40 -03:00
Rémi Verschelde
6c8f2ae53a
Update docs and bindings for new integer vector types
2020-02-25 15:27:29 +01:00
Rémi Verschelde
2f237d181b
Merge pull request #36515 from reduz/packed-array-64-bits
...
Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.
2020-02-25 15:27:09 +01:00
Juan Linietsky
33b5c57199
Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.
...
- Renames PackedIntArray to PackedInt32Array.
- Renames PackedFloatArray to PackedFloat32Array.
- Adds PackedInt64Array and PackedFloat64Array.
- Renames Variant::REAL to Variant::FLOAT for consistency.
Packed arrays are for storing large amount of data and creating stuff like
meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of
memory. That said, many users requested the ability to have 64 bits packed
arrays for their games, so this is just an optional added type.
For Variant, the float datatype is always 64 bits, and exposed as `float`.
We still have `real_t` which is the datatype that can change from 32 to 64
bits depending on a compile flag (not entirely working right now, but that's
the idea). It affects math related datatypes and code only.
Neither Variant nor PackedArray make use of real_t, which is only intended
for math precision, so the term is removed from there to keep only float.
2020-02-25 12:55:53 +01:00
bruvzg
1af06d3d46
Rename scancode
to keycode
.
...
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap.
Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-25 12:30:33 +02:00
Rémi Verschelde
376a8255a9
Merge pull request #36513 from Calinou/editor-icons-pascalcase-filenames
...
Use PascalCase file names for editor icons
2020-02-25 11:26:44 +01:00
Hugo Locurcio
1f8c82df32
Use PascalCase file names for editor icons
...
Using PascalCase file names without any conversion step is
less confusing to new contributors.
2020-02-24 18:53:05 +01:00
nathanwfranke
e0bb28c624
Remove this signal call that was mistakenly added in #36244
...
The original change was in #36340
2020-02-24 02:38:27 -06:00
Rémi Verschelde
128a55a597
Merge pull request #36494 from akien-mga/callable-fixes
...
Fix some signals and non-debug branch for callable_mp
2020-02-24 08:00:23 +01:00
Rémi Verschelde
49118315ba
Merge pull request #36489 from YeldhamDev/more_icons
...
Add icons for some new variants
2020-02-24 00:19:58 +01:00
Rémi Verschelde
b9757545ca
Merge pull request #36488 from Chaosus/capsule_y
...
Changed default capsule axis to vertical
2020-02-24 00:19:21 +01:00
Rémi Verschelde
15e6a82faf
Signals: Fix invalid connections to missing callbacks
...
These bugs existed since those lines were added, so I assume that
their intended use is no longer relevant.
2020-02-23 23:48:44 +01:00
Rémi Verschelde
65429f11a6
Signals: Make callbacks non-const, callable_mp can't handle it
2020-02-23 23:48:44 +01:00
Hugo Locurcio
5dd851e849
Mention version compatibility when there are no results in the assetlib
...
This closes #36469 .
2020-02-23 23:27:42 +01:00
nathanwfranke
ad15edbc65
Partial revert "Fix two signal errors"
...
This partially reverts commit a31bc1b0ba
.
Possible compatibility issues with #35864 that I am not sure about.
Do I need to change "connect" to "connect_compat"?
2020-02-23 15:04:45 -06:00
Yuri Roubinsky
3b0638fe1c
Changed default capsule axis to vertical
...
Co-authored-by: Hugo Locurcio <https://hugo.pro >
2020-02-23 23:18:01 +03:00
Michael Alexsander
f8c1bafc40
Add icons for some new variants
2020-02-23 16:48:19 -03:00
Fabio Alessandrelli
f72905aa29
Fix Breakpoint compare in new Debugger.
...
Only used to keep the hashmap, but clearly bogus.
2020-02-23 14:15:22 +01:00
Rémi Verschelde
bd10c70458
Merge pull request #36461 from akien-mga/c++17-fallthrough-attribute
...
Replace FALLTHROUGH macro by C++17 [[fallthrough]]
2020-02-23 08:43:18 +01:00
Rémi Verschelde
2cf6ac6c50
Replace FALLTHROUGH macro by C++17 [[fallthrough]]
...
This attribute is now part of the standard we target so we no longer
need compiler-specific hacks.
Also enables -Wimplicit-fallthrough for Clang now that we can properly
support it. It's already on by default for GCC's -Wextra.
Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-23 00:52:50 +01:00
Michael Alexsander
5c5a2b7472
Remove extra margin in the top of the debugger
2020-02-22 18:41:22 -03:00
Michael Alexsander
8017a44098
Fix visuals of the new debugger editor
2020-02-22 12:39:44 -03:00
Yuri Roubinsky
7c1415b99b
Merge pull request #36421 from Chaosus/vs_sort_custom_nods
...
Refactor node processing in visual shader member dialog
2020-02-21 21:34:03 +03:00
Rémi Verschelde
a77c862b18
Merge pull request #36400 from reduz/variant-string-name
...
Added StringName as a variant type.
2020-02-21 16:48:29 +01:00
Yuri Roubinsky
b78b37ed3f
Refactor node processing in visual shader member dialog
2020-02-21 18:34:31 +03:00
Rémi Verschelde
0447d6fc8e
Merge pull request #36393 from reduz/callable-method-pointer
...
New callable_mp macro, for signals to call method pointers directly.
2020-02-21 14:53:24 +01:00
Juan Linietsky
3c0059650d
Added StringName as a variant type.
...
Also changed all relevant properties defined manually to StringName.
2020-02-21 14:25:29 +01:00
Rémi Verschelde
7ac0973e9a
Merge pull request #36415 from reduz/skeleton-skin-named
...
Add support for named binds in Skin.
2020-02-21 14:12:19 +01:00
Juan Linietsky
04bb6a708a
Created the callable_mp macro, for signals to call method pointers directly.
2020-02-21 13:46:45 +01:00
Juan Linietsky
9a34f39d32
Add support for named binds in Skin.
...
Helps better reutilization of skeletons from Maya exported files.
2020-02-21 09:40:29 -03:00
Fabio Alessandrelli
cbc450c0e5
Huge Debugger/EditorDebugger refactor.
2020-02-21 11:12:03 +01:00
Juan Linietsky
69c95f4b4c
Reworked signal connection system, added support for Callable and Signal objects and made them default.
2020-02-20 08:24:50 +01:00
Rémi Verschelde
353e2071d0
Merge pull request #36340 from nathanwfranke/fix-signal-errors
...
Fix two signal errors, remove unused break_request signals in profilers
2020-02-20 07:13:54 +01:00
nathanwfranke
a31bc1b0ba
Fix two signal errors
...
Update
2020-02-19 15:22:34 -06:00
janglee
d3c580f0bc
Make orthogonal view mode persistent in new scene
...
Fixes #36339 .
2020-02-19 21:33:43 +05:30
Rémi Verschelde
880a8fcb1c
Merge pull request #35784 from Calinou/remove-3d-camera-gizmo-icon
...
Remove the 3D camera gizmo icon
2020-02-19 12:52:27 +01:00
Rémi Verschelde
c40bd6b775
i18n: Sync translations with Weblate
...
(cherry picked from commit 1c9132540f
)
2020-02-19 10:16:45 +01:00
Hugo Locurcio
ac3c93077c
Decrease the script editor's default split width to 70
...
This also makes its value change to match the editor scale.
2020-02-18 23:00:38 +01:00
Michael Alexsander
30dac10a0e
Convert "Pool*Array" icons into "Packed*Array"
2020-02-18 13:54:02 -03:00
Rémi Verschelde
b4d1882dc3
EditorProperty: Fix handling of PackedRealArray
2020-02-18 14:02:02 +01:00
Rémi Verschelde
ef5891091b
Merge pull request #36311 from reduz/poolvector-deprecation
...
Convert all references and instances of PoolVector to Vector
2020-02-18 11:27:04 +01:00
Juan Linietsky
3205a92ad8
PoolVector is gone, replaced by Vector
...
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are
sugar for `Vector<Type>`.
2020-02-18 10:10:36 +01:00
follower
3cccbdf995
Fix typo/spelling: "exisiting" -> "existing"
...
Specifically: "exisiting_script_removable" -> "existing_script_removable"
2020-02-18 03:10:45 +13:00
Rémi Verschelde
d5062f069e
Merge pull request #36248 from Calinou/connections-method-dialog-increase-width
...
Increase the width of the "Connections to method" dialog
2020-02-17 09:54:30 +01:00
Rémi Verschelde
ae5233a7ec
Merge pull request #36284 from KoBeWi/scripting_bats
...
Allow for continuous deletion/duplication of lines
2020-02-17 09:53:05 +01:00
Tomasz Chabora
b23f141ba4
Allow for continuous deletion/duplication of lines
2020-02-16 22:09:55 +01:00
Rémi Verschelde
1238d08d07
Merge pull request #36267 from timothyqiu/conn-enter-crash
...
Fixes crash when pressing enter in ConnectDialog with nothing selected
2020-02-16 14:20:00 +01:00
Haoyu Qiu
cf8eedb2f5
Fixes crash when pressing enter in ConnectDialog with nothing selected
2020-02-16 20:45:10 +08:00
Hugo Locurcio
5c659dd399
Increase the width of the "Connections to method" dialog
...
This closes #36245 .
2020-02-15 16:36:10 +01:00
Juan Linietsky
867d073b98
Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.
2020-02-15 08:36:04 -03:00
Rémi Verschelde
53cf289f30
Merge pull request #36230 from SkyLucilfer/iconBug
...
Fix script creation icon not showing at startup bug
2020-02-15 12:10:23 +01:00
Hugo Locurcio
3e4b508c3b
Add a soft line length guideline to the script editor
...
The default value is 80. The hard line length guideline's
default column has been moved to 100 to account for the new
soft line length guideline.
It can be disabled by setting its value to the same column as the
hard line length guideline.
This closes https://github.com/godotengine/godot-proposals/issues/347 .
2020-02-15 03:02:40 +01:00
Hugo Locurcio
cc615fee5f
Add a margin to EditorSpinSlider to visually line up the edited number
...
This means clicking on an EditorSpinSlider to edit its value will
no longer cause the number to be visually offset while it's
being edited.
2020-02-15 02:38:51 +01:00
SkyJJ
032b0e5899
Fix script icon not showing at startup bug
2020-02-15 00:37:04 +01:00
Rémi Verschelde
710d829886
Merge pull request #36044 from dreamsComeTrue/fix-replace-all-shortcut
...
Added 'Replace in files' functionality to text editors
2020-02-14 20:30:53 +01:00
Rémi Verschelde
ca87791688
i18n: Sync translation template with current source
...
(cherry picked from commit 3dfedc0b4c
)
2020-02-14 20:20:50 +01:00
Rémi Verschelde
991ad66d28
i18n: Sync translations with Weblate
...
(cherry picked from commit 74738806f3
)
2020-02-14 20:20:43 +01:00
Rémi Verschelde
705ad947e9
Merge pull request #36218 from akien-mga/doc-version-branch
...
doc: Only encode version branch (x.y) in class header
2020-02-14 18:40:24 +01:00
Rémi Verschelde
dacfdd8f33
doc: Only encode version branch (x.y) in class header
...
This avoids a big diff on patch version updates.
2020-02-14 17:38:21 +01:00
Rémi Verschelde
282c8dda98
Merge pull request #36066 from timothyqiu/float-step-range
...
Fixes range hint for default_float_step
2020-02-14 16:17:31 +01:00
Rémi Verschelde
11ee97cbb2
Merge pull request #36201 from YeldhamDev/import_dock_fixes
...
Fix multiple issues with the "Import" dock
2020-02-14 15:48:14 +01:00
Rémi Verschelde
19d6d3d136
Merge pull request #36191 from drichardson/fix_36190
...
Disable video driver option in editor
2020-02-14 14:31:34 +01:00
Rémi Verschelde
79d42069a9
Merge pull request #36208 from akien-mga/warnings
...
Fix various GCC compilation warnings after Vulkan merge
2020-02-14 13:49:20 +01:00
Yuri Roubinsky
b798e26e28
Restore cubemaps in visual shaders
2020-02-14 12:51:46 +03:00
Rémi Verschelde
d2537407ef
Fix various GCC compilation warnings after Vulkan merge
...
Part of #36132 .
2020-02-14 10:02:31 +01:00
Rémi Verschelde
ac9ec5336d
Merge pull request #36197 from Calinou/tweak-editor-help-comment-color
...
Tweak the editor help comment color for better readability
2020-02-14 07:26:35 +01:00
Rémi Verschelde
94bf1a8a9d
Merge pull request #36030 from dreamsComeTrue/fix-replace-text-entered
...
Allow using Enter key for replacing text in code editors
2020-02-14 07:23:49 +01:00
Michael Alexsander
bdd4d28081
Fix multiple issues with the "Import" dock
2020-02-13 23:08:05 -03:00
Dominik 'dreamsComeTrue' Jasiński
4c80beab44
Added 'Replace in files' functionality to text editors
...
Fixes issue #31146
2020-02-13 23:45:05 +01:00
Hugo Locurcio
99bfaa6c60
Tweak the editor help comment color for better readability
2020-02-13 23:34:15 +01:00
Doug Richardson
edf907213e
Disable video driver option in editor since switching to GLES2 would
...
currently cause a crash on restart.
Fixes #36190 .
2020-02-13 12:30:10 -08:00
Marcin Zawiejski
dc793bb816
fix Vulkan project description
2020-02-13 21:04:43 +01:00
volzhs
09b055bd34
Use checkbox for plugin status instead of option list
2020-02-14 01:56:02 +09:00
Yuri Roubinsky
7aad7df574
Restore drag&drop textures in visual shaders
2020-02-13 19:19:41 +03:00
Rémi Verschelde
54ac8eaba6
Remove more deprecated methods and code
2020-02-13 12:37:45 +01:00
Rémi Verschelde
386968ea97
Remove obsolete GLES3 backend
...
Due to the port to Vulkan and complete redesign of the rendering backend,
the `drivers/gles3` code is no longer usable in this state and is not
planned to be ported to the new architecture.
The GLES2 backend is kept (while still disabled and non-working) as it
will eventually be ported to serve as the low-end renderer for Godot 4.0.
Some GLES3 features might be selectively ported to the updated GLES2
backend if there's a need for them, and extensions we can use for that.
So long, OpenGL driver bugs!
2020-02-13 10:36:44 +01:00
Rémi Verschelde
d661ca5357
Merge pull request #36172 from Chaosus/vs_custom_highend
...
Added virtual method to VisualShaderNodeCustom to enable high-end mark
2020-02-13 09:10:18 +01:00
Rémi Verschelde
57dca8b8cc
Merge pull request #36152 from Calinou/project-manager-rename-last-modified
...
Rename the "Last Modified" project list sorting option to "Last Edited"
2020-02-13 09:09:24 +01:00
Rémi Verschelde
49c08cb4fb
Merge pull request #36167 from Calinou/project-manager-disable-gles2
...
Disable the GLES2 renderer option in the Project Manager
2020-02-13 08:51:02 +01:00
Yuri Roubinsky
bc647393ba
Added virtual method to VisualShaderNodeCustom to enable high-end mark
2020-02-13 09:43:43 +03:00
Hugo Locurcio
bb2fffa10c
Disable the GLES2 renderer option in the Project Manager
...
It will be re-enabled once the GLES2 renderer is refactored to work
in Godot 4.0.
2020-02-13 00:29:17 +01:00
Yuri Roubinsky
516cd821c0
Added high-end (Vulkan) label to some functions in visual shader
2020-02-12 23:17:00 +03:00
Juan Linietsky
cf8c679a23
ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits.
2020-02-12 14:24:54 -03:00
Hugo Locurcio
e10460e36f
Rename the "Last Modified" project list sorting option to "Last Edited"
...
The `project.godot` file will always be modified when editing a project,
but not when running it. This effectively makes the option sort by
last edition date, rather than modification as is typically understood
by users.
This closes #36127 .
2020-02-12 18:13:32 +01:00
Teashrock
919293b369
Changed in-text driver name to "Vulkan"
...
But it still requires a change of "driver_name" in backend itself.
2020-02-12 11:07:33 +02:00
Rémi Verschelde
6ac6bade0a
Merge pull request #36119 from YeldhamDev/tileeditor_concave_fixes
...
Fix problems with concave shapes in the TileSet editor
2020-02-12 06:55:03 +01:00
Michael Alexsander
eeb972faef
Fix problems with concave shapes in the TileSet editor
2020-02-11 18:31:25 -03:00
K. S. Ernest (iFire) Lee
f65debaf68
Don't flip screenshot.
2020-02-11 10:10:42 -08:00
Rémi Verschelde
db81928e08
Vulkan: Move thirdparty code out of drivers, style fixes
...
- `vk_enum_string_helper.h` is a generated file taken from the SDK
(Vulkan-ValidationLayers).
- `vk_mem_alloc.h` is a library from GPUOpen:
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
2020-02-11 14:08:44 +01:00
Juan Linietsky
2049dec79e
Added normalmap guided roughness mipmap generator, and a global roughness limiter.
2020-02-11 12:16:01 +01:00
Juan Linietsky
bed8980ca5
Re-implemented screen space ambient occlusion
2020-02-11 12:15:46 +01:00
Juan Linietsky
f8b5c5f063
DOF fully implemented, can be edited on the fly.
2020-02-11 12:15:26 +01:00
Juan Linietsky
bd364d1447
Auto exposure re-implemented in Vulkan
2020-02-11 12:14:23 +01:00
Yuri Roubinsky
171691aad9
[Vulkan] Add repeat flag to texture preview checkerboard background
2020-02-11 12:05:43 +01:00
Rémi Verschelde
fff4240bb4
Fix code formatting issues and VS compilation
...
Also temporarily disable multicheck build so that we get a full build
even when there are style issues on Vulkan.
Fixes #33356 .
2020-02-11 12:05:19 +01:00
Juan Linietsky
da0457fa29
Several fixes to GIProbes
2020-02-11 12:04:56 +01:00
Juan Linietsky
6ee2f5e6b6
More GIProbe work and fixes
2020-02-11 12:03:49 +01:00
bruvzg
26318f3bd1
Fix Vector3 ambiguities and out of bounds init.
2020-02-11 12:03:39 +01:00
Juan Linietsky
fb739f9da7
Fixed display menu visualizations.
2020-02-11 12:03:24 +01:00
Juan Linietsky
acf0f6c8a7
GIProbes working.
2020-02-11 12:03:20 +01:00
Juan Linietsky
d5cf1a872b
Fixes to Basis Universal.
2020-02-11 12:02:59 +01:00
Juan Linietsky
4aea9f74e6
Rewritten StreamTexture for better code reuse, added basis universal support
2020-02-11 12:02:36 +01:00
Juan Linietsky
263bebe023
Untested support for compute shaders
2020-02-11 12:02:34 +01:00
Juan Linietsky
123ee5995c
Visual GPU profiler and related profiling support in Vulkan.
2020-02-11 12:01:26 +01:00
Juan Linietsky
dc32083681
Proper texture reloading (was broken).
2020-02-11 12:01:25 +01:00
Juan Linietsky
dd3682e5fe
Modernized default 3D material, fixes material bugs.
2020-02-11 12:01:24 +01:00
Juan Linietsky
6deffa62fb
Several fixes to 3D rendering, and multimesh implementation.
2020-02-11 12:01:22 +01:00
Juan Linietsky
2d6a916835
Environment sky more or less working.
2020-02-11 12:01:05 +01:00
Juan Linietsky
449df8f688
Base 3D engine done, still untested, though.
2020-02-11 11:59:25 +01:00
Rémi Verschelde
6289e7d147
Merge pull request #29993 from bruvzg/vulkan
...
Initial Vulkan support for macOS (MoltenVK) and Windows
2020-02-11 11:57:40 +01:00
bruvzg
eb48be51db
Add static Vulkan loader.
...
Initial Vulkan support for Windows.
Initial Vulkan support for macOS.
2020-02-11 11:57:11 +01:00
Juan Linietsky
c613ead5fa
Added a spinlock template as well as a thread work pool class.
...
Also, optimized shader compilation to happen on threads.
2020-02-11 11:53:29 +01:00
Juan Linietsky
50e9befb88
Changes to material required to add custom shaders in RD renderer
2020-02-11 11:53:28 +01:00
Juan Linietsky
24b16f3bf0
Fix crash on import.
2020-02-11 11:53:28 +01:00
Juan Linietsky
e1b3444415
Bugfixes and ability to better specify filter and repeat modes everywhere.
...
Removes antialiased flag for draw_* methods.
2020-02-11 11:53:28 +01:00
Juan Linietsky
9b0dd4f571
A lot of progress with canvas rendering, still far from working.
2020-02-11 11:53:27 +01:00
Juan Linietsky
3f335ce3d4
Texture refactor
...
-Texture renamed to Texture2D
-TextureLayered as base now inherits 2Darray, cubemap and cubemap array
-Removed all references to flags in textures (they will go in the shader)
-Texture3D gone for now (will come back later done properly)
-Create base rasterizer for RenderDevice, RasterizerRD
2020-02-11 11:53:26 +01:00
Rémi Verschelde
12244c46ae
Merge pull request #36086 from KoBeWi/TOOL_MOVE_move
...
Allow to use arrow keys with TOOL_MOVE
2020-02-11 09:21:10 +01:00
Tomasz Chabora
cfa9060f8b
Fix selectable locked items
2020-02-11 00:01:10 +01:00
Tomasz Chabora
18918b4efa
Allow to use arrow keys with TOOL_MOVE
2020-02-10 21:39:05 +01:00
Rémi Verschelde
78074fed8d
Merge pull request #36085 from YeldhamDev/rip_animationtreeplayer_press_f
...
Remove AnimationTreePlayer node
2020-02-10 21:12:10 +01:00
Michael Alexsander
021fdb1b58
Remove AnimationTreePlayer node
2020-02-10 16:25:50 -03:00
Gilles Roudière
b66d45d986
Fixes a crash in the 2D editor
2020-02-10 18:27:13 +01:00
Yuri Sizov
8c80b602ac
Add a button to quickly repeat last search in files
2020-02-10 18:41:23 +03:00
Andrea Catania
e6be3f68da
- Integrated NavigationServer and Navigation2DServer.
...
- Added Navigation Agents and Obstacles.
- Integrated Collision Avoidance.
This work has been kindly sponsored by IMVU.
2020-02-10 14:38:52 +01:00
Rémi Verschelde
8cd5102c65
Merge pull request #35704 from KoBeWi/free_the_nodes
...
Include locked nodes on selection list
2020-02-10 14:29:21 +01:00
Tomasz Chabora
de77bda605
Include locked nodes on selection list
2020-02-10 13:59:24 +01:00
Rémi Verschelde
74a12ad95c
Merge pull request #36070 from RandomShaper/imvu/robust_fs_scan
...
Make file system scan more robust
2020-02-10 11:39:28 +01:00
Rémi Verschelde
50e940129a
Merge pull request #33815 from Calinou/assetlib-focus-search-shortcut
...
Make Ctrl+F focus the editor asset library's search field
2020-02-10 11:34:47 +01:00
Rémi Verschelde
4ee8c5ad1f
Merge pull request #33903 from gururise/anim_length_edit
...
change step size of anim length EditSpinSlider to match min anim length
2020-02-10 11:30:57 +01:00
Rémi Verschelde
01d487c4f5
Merge pull request #34027 from Calinou/tweak-project-manager-renderer-selection
...
Improve the renderer selection display in the project manager
2020-02-10 11:28:32 +01:00
Rémi Verschelde
1ceba5a653
Merge pull request #35260 from Calinou/project-manager-enter-open-first
...
Select the first project when searching in the project manager
2020-02-10 11:16:47 +01:00
Rémi Verschelde
ed51c55625
Merge pull request #36071 from RandomShaper/imvu/ignore_hidden_find
...
Ignore hidden files and directories in find in files
2020-02-10 11:05:54 +01:00
Rémi Verschelde
37432587f9
Merge pull request #35787 from Calinou/editor-expose-create-single-convex-shape
...
Re-add a way to generate a single convex shape from the editor
2020-02-10 10:49:05 +01:00
Rémi Verschelde
6c1f428b32
Merge pull request #35819 from Calinou/improve-inputmap-editor-icons
...
Improve icons in the Input Map editor
2020-02-10 10:46:37 +01:00
Rémi Verschelde
b7f844a2e5
Merge pull request #36043 from timothyqiu/packed-scene-resource
...
Fixes broken scene created via New Resource
2020-02-10 10:37:58 +01:00
Rémi Verschelde
0b9f0cd412
Merge pull request #36054 from Calinou/rebind-tilemap-editor-select-pick-tile
...
Change the Pick Tile and Select default shortcuts in the TileMap editor
2020-02-10 10:36:43 +01:00
Rémi Verschelde
0e98841d60
Merge pull request #36061 from Calinou/tweak-changes-may-be-lost-color
...
Tweak the "Changes may be lost!" text color to match the icon's color
2020-02-10 10:36:21 +01:00
Rémi Verschelde
354a94e8a8
Merge pull request #36063 from Calinou/remove-unused-icons
...
Remove unused GodotDocs and ParticleAttractor2D editor icons
2020-02-10 10:35:59 +01:00
Pedro J. Estébanez
3017bdb7ce
Make file system scan more robust
...
Previously, a change was missed if it happened while the scan was in progress and already past the affected location.
Also:
- Consider the scan changes thread on termination, in addition to the full scan one
- Add FS-reported hidden to the check for hidden by the editor file system
2020-02-10 09:32:17 +01:00
Pedro J. Estébanez
aeff876868
Ignore hidden files and directories in find in files
2020-02-10 09:32:15 +01:00
Haoyu Qiu
dfe9825e00
Fixes range hint for default_float_step
2020-02-10 15:39:29 +08:00
Aaron Franke
ef9b4ee2e2
Fix 2D CollisionShape controls pointing the wrong way
...
They now point down, matching Godot's 2D coordinate system.
2020-02-09 17:37:30 -05:00