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
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
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
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