Commit Graph

24476 Commits

Author SHA1 Message Date
PouleyKetchoupp
475115c0c3 Added empty() function to pool array types 2019-10-31 16:27:32 +01:00
Rémi Verschelde
23a381d882
Merge pull request #33203 from aaronfranke/seperation-typo
Fix "seperate" typos
2019-10-31 15:17:19 +01:00
Rémi Verschelde
565f7183aa Prevent crash when we can't write to editor cache or config path
This can happen if users somehow got wrong user permissions assigned to
their Godot cache, config or data paths (e.g. `~/.config/godot`).

The error messages should give them a hint as to what the issue may be.

Fixes #33199.

There may be other situations that still lead to a crash, we need to
review all uses of `FileAccess::open` with `FileAccess::WRITE` mode to
ensure that proper pointer validation is done.
2019-10-31 15:16:02 +01:00
Aaron Franke
8754e21f48
Fix "seperate" typos 2019-10-31 08:52:26 -04:00
Rémi Verschelde
55fd63d9de
Merge pull request #33201 from Xrayez/json-err-print
Provide and print error messages for JSON parsing
2019-10-31 13:31:48 +01:00
PouleyKetchoupp
d29c8ab81b Improved TextEdit search usability & documentation 2019-10-31 12:35:23 +01:00
Andrii Doroshenko (Xrayez)
56925b9c28 Provide and print error messages for JSON parsing
Core is not touched, only for binding and scripting.
2019-10-31 13:15:44 +02:00
Rémi Verschelde
aa96481c8f
Merge pull request #33196 from conankzhang/fix-theme-typo
Fix a constant name typo for GridContainer when creating an editor theme.
2019-10-31 09:51:16 +01:00
Rémi Verschelde
7b708421b3
Merge pull request #33174 from hbina/fix_srgb_to_linear
Fixed uinitialized variable in srgb_to_linear table
2019-10-31 09:50:59 +01:00
conankzhang
3854389156 Fix a constant name typo for GridContainer when creating an editor theme. 2019-10-31 01:01:54 -07:00
Rémi Verschelde
ac38f0782f
Merge pull request #33195 from conankzhang/doc-project-settings
Add descriptions to set_initial_value and set_setting.
2019-10-31 08:04:46 +01:00
Rémi Verschelde
0ef3a8b5ca
Merge pull request #33194 from conankzhang/doc-theme
Add descriptions to clear and copy_theme.
2019-10-31 08:04:15 +01:00
Rémi Verschelde
0c606b9de7
Merge pull request #33192 from SneakyFish5/update-libogg
Update libogg to upstream c8fca6b
2019-10-31 08:00:47 +01:00
Rémi Verschelde
7c98f0d3f8
Merge pull request #33189 from Calinou/configure-snap-improve-primary-step
Improve the primary line setting display in the Configure Snap dialog
2019-10-31 07:52:16 +01:00
conankzhang
e72d6cf54a Add descriptions to set_initial_value and set_setting. 2019-10-30 23:39:24 -07:00
Yuri Roubinsky
1b003f3d64 Prevents shader crash on GLES2 if unsupported built-in has been used 2019-10-31 09:21:44 +03:00
conankzhang
d69ed2fc55 Add descriptions to clear and copy_theme. 2019-10-30 23:04:58 -07:00
Jonathan Mannancheril
6eb8c11d32 Update libogg to upstream c8fca6b 2019-10-30 19:03:26 -05:00
Hugo Locurcio
27ad8609e2
Improve the primary line setting display in the Configure Snap dialog
This merges the "steps" suffix into the SpinBox using its `suffix`
property.
2019-10-30 22:19:30 +01:00
Rémi Verschelde
d482a1d8e8
Merge pull request #33181 from clayjohn/GLES2-MSAA-fail_gracefully
Fail framebuffer allocation gracefully for MSAA in GLES2
2019-10-30 17:12:39 +01:00
Rémi Verschelde
8570b9b0c2
Merge pull request #24329 from bruvzg/macos_pen_pressure
Add graphic tablet pen pressure/tilt support
2019-10-30 16:26:08 +01:00
clayjohn
033ae8a543 When framebuffer allocation fails for MSAA in GLES2 revert to normal without ERR_FAIL 2019-10-30 07:45:09 -07:00
bruvzg
f675621725
[macOS, Windows, X11] Add graphic tablet pen pressure and tilt support to InputEventMouseMotion event. 2019-10-30 14:42:21 +02:00
Hanif Bin Ariffin
f8c2b64c99 Fixed uinitialized variable in srgb_to_linear table
Old array's size was actually 255.

Fixes #33133
2019-10-30 08:34:30 -04:00
Rémi Verschelde
924db5fa58
Merge pull request #33176 from conankzhang/doc-spatial-scale
Add descriptions to scale functions.
2019-10-30 13:25:51 +01:00
Rémi Verschelde
9e1be8f8aa
Merge pull request #32934 from ajweeks/fix-scale-origin
Fix 2D scale gizmo placement
2019-10-30 12:04:10 +01:00
Rémi Verschelde
af61fe8b77
Merge pull request #32928 from Calinou/2d-editor-add-primary-grid
Add primary grid lines to the 2D editor
2019-10-30 11:29:32 +01:00
conankzhang
29844a5862 Add descriptions to scale functions. 2019-10-30 03:19:08 -07:00
Rémi Verschelde
88143b6146
Merge pull request #33164 from volzhs/set-main-scene
Add "Set as main scene" on context menu in FileSystem panel
2019-10-30 10:05:28 +01:00
Rémi Verschelde
e17cf5049b
Merge pull request #33173 from conankzhang/doc-particles
Add descriptions to setting and getting draw pass meshes.
2019-10-30 10:04:43 +01:00
conankzhang
709c1bf051 Add descriptions to setting and getting draw pass meshes. 2019-10-30 01:09:26 -07:00
Rémi Verschelde
99324d9fda
Merge pull request #33168 from nekomatata/weak-ref-leak
Fixed leak in gdscript when creating empty WeakRef
2019-10-30 07:54:42 +01:00
PouleyKetchoupp
bcbe5b5850 Fixed leak in gdscript when creating empty WeakRef
Fixes #33150
2019-10-29 23:53:56 +01:00
volzhs
bee6b94b77 Add "Set as main scene" on context menu in FileSystem panel 2019-10-30 03:31:33 +09:00
Rémi Verschelde
d749b738ad
Merge pull request #33159 from Chaosus/shader_fix2
Added check if field name in the shader is equal to builtin
2019-10-29 19:24:08 +01:00
Hugo Locurcio
c7e5dd9ef0
Add primary grid lines to the 2D editor
A "primary" line is drawn every 8 steps by default,
which makes it easier to measure distances for snapping.

This value can be configured in the Configure Snap dialog.
2019-10-29 15:47:38 +01:00
Rémi Verschelde
b8daad9779 i18n: Sync translation template with current source 2019-10-29 13:57:45 +01:00
Rémi Verschelde
270bdafaeb i18n: Sync translations with Weblate 2019-10-29 13:50:36 +01:00
Yuri Roubinsky
76eb486413 Added check if field name in the shader is equal to builtin 2019-10-29 15:37:19 +03:00
Rémi Verschelde
948a2a03d2
Merge pull request #33091 from MCrafterzz/fix10567
Improved project creation UX
2019-10-29 13:27:41 +01:00
Rémi Verschelde
18c46bb8e5
Merge pull request #33144 from nekomatata/inspect-remote-tool-script-2
Fixed remote inspector for tool scripts
2019-10-29 12:01:40 +01:00
Rémi Verschelde
0641acc576
Merge pull request #33147 from mikkac/33135
Fixed disconnecting not connected signal
2019-10-29 12:01:01 +01:00
MCrafterzz
336e61b36a Improved UX of selecting directories in (Editor)FileDialog by hiding unused gui elements and moving the drive selection 2019-10-29 11:36:09 +01:00
Rémi Verschelde
f480d1c3b7
Merge pull request #33157 from nekomatata/natvis-node
Update natvis file to display Node class correctly in Visual Studio debugger
2019-10-29 11:03:50 +01:00
PouleyKetchoupp
2f511ff758 Update natvis file to display Node class correctly in Visual Studio debugger 2019-10-29 10:24:29 +01:00
Rémi Verschelde
7b28f79f94
Merge pull request #33152 from Chaosus/vs_fix
Removes translations from generated visual shader code
2019-10-29 07:55:27 +01:00
RaphaelHunter
c4cea10402 fix occluders positions error under canvas_layer, close #32880 2019-10-29 14:51:58 +08:00
Yuri Roubinsky
9086e7330f Removes translations from generated visual shader code 2019-10-29 09:26:05 +03:00
Mikolaj Kaczmarek
a245bab78d Fixed disconnecting not connected signal 2019-10-29 00:53:48 +01:00
PouleyKetchoupp
3a26a0eaa7 Fixed remote inspector for tool scripts
Fixes #29506
2019-10-28 18:32:00 +01:00