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
Guilherme Felipe
126cec41e6
Fix the VIEW_INFORMATION checkbox not being selected
...
Generated id of "Display Advanced..." was in conflict with "View Information"
2020-03-08 15:34:41 -03:00
Fabio Alessandrelli
3b47eb51e4
Update editor debugger to new remote debugger.
...
Shared RemoteDebuggerPeer code between client and server.
Move editor profilers inside editor/debugger folder.
2020-03-08 12:36:39 +01:00
Fabio Alessandrelli
540ca05a80
Threaded networking for editor debugger.
2020-03-08 12:16:09 +01:00
Mateo Miccino
86b48093eb
Signals: filter_changed from ProjectListFilter now is emitted when it's on scene tree to avoid unexpected call
2020-03-07 18:34:10 -03:00
fhuya
f097defba1
Re-architecture of the Godot Android plugin.
2020-03-05 10:00:19 -08:00
Rémi Verschelde
42595085a5
Merge pull request #36752 from RandomShaper/rework_semaphore
...
Drop old semaphore implementation
2020-03-05 16:33:45 +01:00
Rémi Verschelde
fdda39a506
Signals: Don't pass default binds to EditorProperty property_changed
...
This was done by mistake in #36758 , but it's not necessary and actual
causes a bug.
`property_changed` is only emitted via `emit_changed()`, which already
has default values for `p_field` and `p_changing`.
Also reverted to using `String` for now to be on the safe side, even if
it's inconsistent with `emit_changed()`. I had only changed it
partially in #36758 so it was inconsistent. It probably does make sense
to port `EditorInspector` and related property editors to use
`StringName` where relevant, but that's for a dedicated PR.
Fixes #36799 .
2020-03-05 15:35:44 +01:00
Rémi Verschelde
54a8bad8fe
Merge pull request #36700 from ThakeeNathees/scene-tab-bug-fix
...
Fix possible EditorFolding crash when switching scenes
2020-03-05 14:23:43 +01:00
Thakee Nathees
3275e8488b
Fix EditorFolding crash when switching scenes
2020-03-05 18:19:58 +05:30
Fabio Alessandrelli
e5ec499a92
Fix some bugs spotted by asan in editor debugger.
...
EditorDebuggerInspector is in tree, so it gets automatically deleted,
when clearing errors the debugger should not fake a process
notification.
2020-03-05 12:28:22 +01:00
Rémi Verschelde
85ffc5ec97
Merge pull request #36746 from aaronfranke/plugin-icon-docs
...
Document EditorPlugin get_plugin_icon and get_plugin_name
2020-03-05 09:46:41 +01:00
Rémi Verschelde
0c53f1f7db
Merge pull request #36743 from Calinou/tweak-giprobe-gizmo
...
Tweak the GIProbe gizmo to be more subtle
2020-03-04 22:44:44 +01:00
Rémi Verschelde
7c9e15238e
Merge pull request #36739 from Calinou/improve-giprobe-editor-label
...
Improve the GIProbe editor contextual label
2020-03-04 22:41:25 +01:00
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
PouleyKetchoupp
8f5ac3dbfc
Fixed flipped scene preview thumbnail
...
No need to flip the image generated from the viewport texture anymore.
2020-02-21 17:58:05 +01: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
Hugo Locurcio
f81e50a354
Remove unused GodotDocs and ParticleAttractor2D editor icons
2020-02-09 23:23:17 +01:00
Hugo Locurcio
a0c35b4d0d
Tweak the "Changes may be lost!" text color to match the icon's color
2020-02-09 22:24:02 +01:00
Rémi Verschelde
8cb2de5243
Merge pull request #33451 from MCrafterzz/movementHandle
...
Added movement handles to 2D
2020-02-09 22:19:32 +01:00
Rémi Verschelde
9f9d6c6cc1
Merge pull request #35656 from ericrybick/35460-fix2
...
Use a new approach to fix bone pose override not being reset when IK animation is stopped.
2020-02-09 22:14:31 +01:00
Eric Rybicki
bb0358dd8d
Use a new approach to fix bone pose override not being reset when IK animation is stopped.
...
This reverts PR #35460 & commit 551c37167b
.
2020-02-09 19:50:13 +01:00
Hugo Locurcio
88213b54ba
Change the Pick Tile and Select default shortcuts in the TileMap editor
...
The new default keys were chosen to match common graphics editing
software. A modifier is no longer required to use the Select tool,
making it faster to use.
This closes #34170 .
2020-02-09 17:46:01 +01:00
Rémi Verschelde
e420b85ba5
Merge pull request #35840 from timothyqiu/groups-match
...
Fixes add group in Group Editor dialog
2020-02-09 12:53:37 +01:00
Rémi Verschelde
23531207a5
Merge pull request #36008 from AndreaCatania/physical_bone_impr
...
Skeleton animates physical bones
2020-02-09 11:15:43 +01:00
Andrea Catania
557d38cad3
Fixed Skeleton Physical Bone generation
2020-02-09 09:41:18 +01:00
Haoyu Qiu
9cff286de1
Fixes broken scene created via New Resource
2020-02-09 14:21:10 +08:00
Dominik 'squ@ll' Jasiński
1adcd57377
Allow using Enter key for replacing text in code editors (also Shift + Enter works backwards)
...
Fixes issue #31762
2020-02-08 21:46:04 +01:00
Hugo Locurcio
3e95b79b65
Update the zoom percentage when using Frame Selection in the 2D editor
...
This closes #36019 .
2020-02-08 18:29:28 +01:00
Rémi Verschelde
6b42d83ff1
Merge pull request #35950 from Chaosus/vs_scalar_uniform_range
...
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 20:45:40 +01:00
Yuri Roubinsky
22ad83edae
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 17:04:24 +03:00
Rémi Verschelde
f3726ee994
Use modules_enabled.gen.h to improve inter dependency checks
...
- Fix build with gdscript module disabled. Fixes #31011 .
- Remove unused `gdscript` compile option.
- Fix build with regex module disabled.
- Fix ImageLoaderSVG to forward declare thirdparty structs.
2020-02-07 11:50:40 +01:00
MCrafterzz
812fea7ccd
Changed transformation handles y arrow to match positive y
2020-02-07 09:07:46 +01:00
Yuri Roubinsky
0812f991f0
Merge pull request #35952 from Chaosus/shader_editor_enchance
...
Few enchancements for shader editor
2020-02-06 19:52:01 +03:00
Yuri Roubinsky
24368206ca
Few enchancements for shader editor
2020-02-06 17:50:12 +03:00
Rémi Verschelde
f003b3efaa
Merge pull request #35068 from akien-mga/containers-mouse-filter-pass
...
Use MOUSE_FILTER_PASS for all containers
2020-02-06 12:23:39 +01:00
Rémi Verschelde
f5fa2b41df
Merge pull request #35892 from Calinou/project-manager-allow-hidden-files
...
Allow existing hidden files/directories when creating a new project
2020-02-06 11:21:17 +01:00
Rémi Verschelde
e92ab159e6
Merge pull request #35727 from Calinou/profiler-set-background-color
...
Use the editor background color for the profiler graph
2020-02-06 11:13:57 +01:00
Rémi Verschelde
6aaff5dc68
Merge pull request #35731 from timothyqiu/texture-region-gestures
...
Adds pan and zoom gestures to TextureRegion editor
2020-02-06 11:12:34 +01:00
Haoyu Qiu
c1011178c0
Centers icon vertically in project list
2020-02-06 10:56:43 +08:00
Hugo Locurcio
c695751654
Improve icons in the Input Map editor
...
- Add a disabled icon for built-in inputs with a tooltip explaining
why they can't be removed. This also makes the Add button's horizontal
position consistent between built-in and custom inputs.
- Fade out input event icons slightly to make them easier to distinguish
from action icons.
- Remove unnecessary punctuation from mouse button and joypad event
descriptions.
2020-02-05 18:22:47 +01:00
Rémi Verschelde
a9fbe22ce9
Merge pull request #35915 from YeldhamDev/filedock_move_improvements
...
Make some QOL improvements to move operations in the FileSystem dock
2020-02-05 16:33:20 +01:00
Rémi Verschelde
bdaca7f44b
Merge pull request #35918 from timothyqiu/script-views-min-height
...
Shortens minimum height of script editor
2020-02-05 16:27:45 +01:00
Rémi Verschelde
7ada59efb7
Merge pull request #33391 from madmiraal/cleanup-error_macros
...
Clean up error_macros.h
2020-02-05 15:43:01 +01:00
Marcel Admiraal
6d69cd40bd
Add do..while(0) wrappers to macros without one.
...
- Add do..while(0) wrapper to ERR_FAIL_NULL macros.
- Add do..while(0) wrapper to ERR_FAIL_COND macros.
- Add do..while(0) wrapper to ERR_CONTINUE macros.
- Add do..while(0) wrapper to ERR_BREAK macros.
- Add do..while(0) wrapper to CRASH_COND macros.
- Add do..while(0) wrapper to ERR_FAIL macros.
- Add do..while(0) wrapper to ERR_PRINT macros.
- Add do..while(0) wrapper to WARN_PRINT macros.
- Add do..while(0) wrapper to WARN_DEPRECATED macros.
- Add do..while(0) wrapper to CRASH_NOW macros.
2020-02-05 11:19:12 +01:00
Marcel Admiraal
f0db13502a
Remove duplicate WARN_PRINT macro.
2020-02-05 11:13:24 +01:00
Marcel Admiraal
5af3b4ca27
Remove duplicate ERR_PRINT macro.
2020-02-05 11:13:24 +01:00
Haoyu Qiu
6785e199bb
Shortens minimum height of script editor windows
2020-02-05 13:16:54 +08:00
Michael Alexsander
07a23e75fc
Make some QOL improvements to move operations in the FileSystem dock
2020-02-04 19:31:48 -03:00
Hugo Locurcio
34b747bac0
Allow existing hidden files/directories when creating a new project
...
For instance, this lets users initialize a Git repository
and still be able to create a project in the directory afterwards.
This closes https://github.com/godotengine/godot-proposals/issues/291 .
2020-02-03 21:35:00 +01:00
Michael Alexsander
f7374cef84
Fix built-in script creation loading existing scripts by mistake
2020-02-03 13:07:17 -03:00
Haoyu Qiu
421ea09195
Fixes add group in Group Editor dialog
...
Before this fix, new group can't be created if any existing group starts
with the new name.
2020-02-02 11:11:20 +08:00
Rémi Verschelde
2a1e21b6b1
Merge pull request #33959 from Calinou/improve-autoload-editor-ux
...
Improve the AutoLoad editor UX
2020-01-31 18:30:34 +01:00
Hugo Locurcio
90af009f2e
Re-add a way to generate a single convex shape from the editor
...
It was removed after the implementation of VHACD. Generating a single
shape can lead to better performance, so it may still be desired.
This also adds tooltips for several options in the Mesh menu.
This closes #35692 .
2020-01-31 16:42:02 +01:00
Hugo Locurcio
2d529e6d63
Remove the 3D camera gizmo icon
...
The gizmo icon obstructed the line-based camera gizmo, which made it
difficult to see the actual camera orientation.
This also removes the unused SpatialStreamPlayer gizmo icon.
This closes https://github.com/godotengine/godot-proposals/issues/425 .
2020-01-31 15:58:57 +01:00
Hugo Locurcio
352be7dbcc
Improve the AutoLoad editor UX
...
- Convert the default AutoLoad name to PascalCase when selecting a file.
- Disable the "Add" button if the path is empty or the name is invalid.
- Prefix the automatically-chosen name with "Global" if it would
conflict with a built-in class.
- Replace the FileList icon with the Load icon as it better represents
the action.
2020-01-31 11:51:21 +01:00
Rémi Verschelde
1361fa71c4
Merge pull request #33047 from silvanocerza/settings-search
...
Improved search in settings dialogs
2020-01-31 11:45:37 +01:00
Rémi Verschelde
d75c3d7f49
Merge pull request #33970 from Calinou/improve-video-ram-debugger-ux
...
Improve the Video RAM debugger UX
2020-01-31 11:38:52 +01:00
Rémi Verschelde
ab2f91bdfb
Merge pull request #35502 from Calinou/profiler-csv-save-anywhere
...
Allow saving anywhere when exporting CSV measures from the profiler
2020-01-31 11:19:29 +01:00
Rémi Verschelde
7e55472655
Merge pull request #35500 from Calinou/profiler-display-milliseconds
...
Display times as milliseconds in the profiler and performance monitors
2020-01-31 11:19:03 +01:00
Rémi Verschelde
3b80f03c92
Merge pull request #35332 from Calinou/improve-batch-rename-dialog
...
Improve the batch rename dialog
2020-01-31 10:48:39 +01:00
Rémi Verschelde
43f84445ba
Merge pull request #35340 from Calinou/optimize-editor-icon-generation
...
Optimize the editor icon generation
2020-01-31 10:15:01 +01:00
Rémi Verschelde
8f9e1858dd
Merge pull request #34939 from YeldhamDev/scriptdiag_valid_specific
...
Make ScriptCreateDialog's script valid message a bit more clearer
2020-01-31 10:05:01 +01:00
Rémi Verschelde
67c3ce35bd
Merge pull request #33639 from YeldhamDev/replaced_label_location
...
Make the replaced results appear in the matches counter
2020-01-31 10:04:27 +01:00
Haoyu Qiu
d1b1edba84
Adds pan and zoom gestures to TextureRegion editor
2020-01-30 11:39:13 +08:00
Hugo Locurcio
fa2fda3244
Use the editor background color for the profiler graph
...
This leads to a better appearance compared to using pure black.
2020-01-30 03:09:00 +01:00
Tomasz Chabora
7a0e813ffa
Show theme property descriptions in the inspector
2020-01-29 19:56:06 +01:00
Michael Alexsander
0faadcae8f
Clip warning text in the remote dock
2020-01-29 12:52:07 -03:00
Haoyu Qiu
ca537dea76
Fixes invalid read when using fill tool in empty tilemap
2020-01-27 20:39:49 +08:00
Rémi Verschelde
f76009bbcf
i18n: Sync translations with Weblate
2020-01-27 08:11:37 +01:00
Hugo Locurcio
ad49425bd8
Don't show an Online Tutorials section if the class has no tutorials
2020-01-27 01:01:11 +01:00
Rémi Verschelde
4cee1cda5e
Merge pull request #35589 from akien-mga/doc-drop-category-property
...
doc: Drop unused 'category' property from header
2020-01-26 16:34:13 +01:00
Rémi Verschelde
09ced94dd4
doc: Do not expose Variant::NIL as a type in the class reference
...
Fix signals Variant arguments incorrectly listed as Nil.
Fixes #12520 .
2020-01-26 16:08:11 +01:00
Rémi Verschelde
2d20fc39aa
doc: Drop unused 'category' property from header
...
We already removed it from the online docs with #35132 .
Currently it can only be "Built-In Types" (Variant types) or "Core"
(everything else), which is of limited use.
We might also want to consider dropping it from `ClassDB` altogether
in Godot 4.0.
2020-01-26 16:02:39 +01:00
Rémi Verschelde
98e5134059
Merge pull request #35526 from nekomatata/inspector-update-rename-node
...
Fixed Inspector update when a node is renamed
2020-01-24 21:52:12 +01:00
PouleyKetchoupp
9c4a6cf745
Fixed Inspector update when a node is renamed
...
Whenever any node is renamed, EditorNode::_edit_current() is called and it resets plugins used for current edited properties. This change forces the inspector to update even though the same object is edited, to make sure all plugins are restored properly from unfolded properties/resources/etc.
Fixes #32832
2020-01-24 18:12:05 +01:00
Rémi Verschelde
4dce3427ef
Merge pull request #35519 from yamgent/wrong-guideline-value
...
Fix wrong guideline values shown during dragging
2020-01-24 18:10:53 +01:00
Tan Wang Leng
ee2f406c73
Fix wrong guideline values shown during dragging
...
Suppose that the user wants to use some guidelines in 2D mode. The
user has enabled "Use Pixel Snap", and configured the "Grid Step" to
1px.
On some zoom levels, when dragging the guidelines step by step, some
offsets shows the wrong value. The offsets that are wrong vary - it is
affected by the zoom level, so some zoom levels do not display this
problem.
For example, a user may see this while dragging the guideline:
0px 1px 1px 3px 4px 5px 5px 7px 8px
whereby 2px and 6px are missing.
This is due to a floating-point error. The values are printed as
(truncated) integers, but they are actually decimals, so they were
actually 1.9999 and 5.9999 for the missing cases.
Let's fix that by rounding up the values before printing them to get rid
of the errors.
This fixes #35010 .
2020-01-24 23:52:43 +08:00
Hugo Locurcio
a002b93d86
Add explanations for errors related to Vector/Quat normalization
2020-01-24 14:19:23 +01:00
Hugo Locurcio
81f33df84b
Allow saving anywhere when exporting CSV measures from the profiler
...
Previously, the CSV file could only be saved in `res://`. Since this is
an editor tool, it makes sense to allow saving anywhere on
the filesystem.
2020-01-24 12:18:26 +01:00
Hugo Locurcio
f1d9dbfb08
Display times as milliseconds in the profiler and performance monitors
...
Small values are easier to read as milliseconds compared to seconds.
2020-01-24 12:07:38 +01:00
Haoyu Qiu
0ca102d568
Fixes leak in Animation Track editor
2020-01-24 11:17:56 +08:00
Rémi Verschelde
8a7a216be5
i18n: Sync translations with Weblate
2020-01-23 23:19:54 +01:00
Haoyu Qiu
b420618c46
Fixes scrollbar positions on HiDPI display
...
* TextureRegion editor
* Ploygon2D UV editor
2020-01-23 08:55:52 +08:00
Rémi Verschelde
b255744e0f
Merge pull request #35449 from bojidar-bg/35439-scenetree-settings
...
Add settings from SceneTree in the documentation
2020-01-22 22:02:47 +01:00
Rémi Verschelde
37897dba80
Merge pull request #35406 from lawnjelly/ortho-shadow
...
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22 22:02:09 +01:00
Bojidar Marinov
b4770c0a27
Add settings from SceneTree in the documentation
...
Fixes #35439
2020-01-22 22:37:56 +02:00
Rémi Verschelde
91b0be18dc
Merge pull request #35421 from williamd1k0/improve-top-animation-menu
...
Use an icon in the top Animation Key menu
2020-01-22 21:21:15 +01:00
William Tumeo
cb3fcba99f
Use an icon in the top Animation Key menu
2020-01-22 17:06:40 -03:00
lawnjelly
eaf8e5ce52
Change CameraMatrix::get_viewport_size to get_viewport_half_extents
...
Fixes #26637 .
Fixes #19900 .
The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2.
Code which called this function has also been modified accordingly.
This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width.
It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22 18:22:00 +00:00
Bojidar Marinov
387ee7d763
Get real default values for project settings in documentation
...
Also, ignore custom project settings and values for input/ entries
Fixes #34154
2020-01-22 15:57:10 +02:00
Hugo Locurcio
56aae0e8bc
Use a loading placeholder for project icons in the project manager
...
Now that projects are loaded asynchronously, some projects in the
list may be displayed before their icon is done loading. This is
especially common on slower hardware.
In such cases, this makes the project manager display a loading
placeholder instead of the default project icon.
2020-01-21 22:56:19 +01:00
Rémi Verschelde
4faaf6089a
Remove unused #if 0'ed code
2020-01-21 21:41:54 +01:00
Rémi Verschelde
d4ac0ca153
Merge pull request #35393 from YeldhamDev/plugin_script_syntax
...
Make script made via plugin creation obey syntax settings
2020-01-21 13:21:01 +01:00
Rémi Verschelde
423f15262f
Merge pull request #35399 from ericrybick/35367-signals-dock-size-jumps-when-selecting-nodes
...
Clip text in NodeDock toolbuttons to prevent dock size changes
2020-01-21 11:18:35 +01:00
Eric Rybicki
371b5a450a
Clip text in NodeDock toolbuttons to prevent dock size changes
...
Fixes #35367
2020-01-21 10:23:09 +01:00