Commit graph

24411 commits

Author SHA1 Message Date
Andrii Doroshenko (Xrayez)
7f40b69022 Use GDScript resource path over script path for inst2dict
The resource path holds the original path which can be used to convert
a dictionary to instance consistently both within editor and exported projects
as the original path is automatically remapped from `gd` to `gdc` or `gde` in
exported projects.
2019-11-02 15:11:52 +02:00
Rémi Verschelde
4569f5ec82
Merge pull request #33182 from MCrafterzz/scaleSnap
Added snapping for scaling in 2D editor
2019-11-02 11:12:54 +01:00
Yuri Roubinsky
d5aa611d53
Merge pull request #33256 from Chaosus/vs_fix_custom_nodes
Sort custom vshader nodes+prevents them from divide to different folders
2019-11-02 13:09:10 +03:00
Yuri Roubinsky
84a0ad36b6 Sort custom vshader nodes+prevents them from divide to different folders 2019-11-02 12:04:48 +03:00
MCrafterzz
3a8a7fc31c Added snapping for scaling in 2D editor 2019-11-02 09:43:15 +01:00
Rémi Verschelde
af4fd9de9c
Merge pull request #33238 from qarmin/other_fixes
Fix some crashes, overflows and using variables without  values
2019-11-01 22:12:47 +01:00
Rémi Verschelde
86fdb51e04
Merge pull request #33246 from nekomatata/state-machine-rename-error
Fixed error when renaming a state in AnimationNodeStateMachine
2019-11-01 22:12:10 +01:00
PouleyKetchoupp
f6f60e22f5 Fixed error when renaming a state in AnimationNodeStateMachine
Fixes #33245
2019-11-01 21:14:58 +01:00
George Marques
9fcd38fc70
GDScript: validate instance before accessing it on error
Make sure the instance is valid before trying to access the script in
after an error happened. If the instance is not valid it's possible that
the script is invalid as well.

Fix #29623
2019-11-01 14:41:52 -03:00
Rémi Verschelde
36a785513f
Merge pull request #33175 from Chaosus/shader_fix_builtin_crashes
Prevents shader crash on GLES2 if unsupported built-in has been used
2019-11-01 17:36:37 +01:00
Rémi Verschelde
d7e7b8365d
Merge pull request #33239 from Omicron666/patch-1
Fix: typo atleast -> at least
2019-11-01 17:35:52 +01:00
Rémi Verschelde
5160d4f5ba
Merge pull request #33233 from hilfazer/dollar-quoted-autocomplete
$ autocompletion keeps quotation
2019-11-01 16:52:13 +01:00
Rafał Mikrut
9ddb3265e1 Fix some crashes, overflows and using variables without values 2019-11-01 16:16:31 +01:00
Omicron
79a59a3587
Fix: typo atleast -> at least
Typo found in source string, reported by linux-man on weblate
2019-11-01 16:10:21 +01:00
George Marques
15800b4db8
GDScript: Avoid editor crashes when there's cyclic inheritance
Make sure the script is fully compiled before looking into the base.
2019-11-01 12:00:20 -03:00
George Marques
5d5df05ee1
Merge pull request #32643 from mewin/add_global_class
Check for cyclic inheritance when adding a global script class
2019-11-01 11:45:53 -03:00
hilfazer
c394ef7410 $ autocompletion keeps quotation 2019-11-01 14:52:13 +01:00
Rémi Verschelde
a49c8d4a2b
Merge pull request #33202 from nekomatata/text-edit-search-usability
Improved TextEdit search usability & documentation
2019-11-01 14:10:00 +01:00
Rémi Verschelde
b4737877f1
Merge pull request #33204 from akien-mga/prevent-crash-permission-issue
Prevent crash when we can't write to editor cache or config path
2019-11-01 14:09:42 +01:00
Rémi Verschelde
83d393a71a
Merge pull request #33209 from Jummit/soft-body-tutorial
Link SoftBody tutorial in docs
2019-11-01 14:04:50 +01:00
Rémi Verschelde
962fc725c0
Merge pull request #33210 from nekomatata/pool-array-empty
Added empty() function to pool array types
2019-11-01 14:04:16 +01:00
Rémi Verschelde
81b53f5a5c
Merge pull request #33211 from drentsoft/os_midi_documentation_branch
Added documentation for the OS class MIDI functions.
2019-11-01 14:04:01 +01:00
Rémi Verschelde
1e8758418e
Merge pull request #33216 from nekomatata/help-editor-codeblock
Code sections improvements in editor help
2019-11-01 14:03:26 +01:00
Rémi Verschelde
d93201b27f
Merge pull request #33229 from Jummit/document-force_update_transform
Document force_update_transform
2019-11-01 14:03:01 +01:00
Rémi Verschelde
c12797fb31
Merge pull request #33232 from kraghot/Fix-Batch-Rename
Fix Batch Rename not opening
2019-11-01 14:00:40 +01:00
Edi Cikovic
d14d57120d Fix Batch Rename not opening 2019-11-01 13:03:57 +01:00
Jummit
2166437869 document force_update_transform 2019-11-01 10:37:39 +01:00
Jummit
ce61bff759 link SoftBody tutorial in docs and add ray_pickable property 2019-11-01 08:51:25 +01:00
Rémi Verschelde
99cee9038b
Merge pull request #33227 from SneakyFish5/patch-1
Add new file in libogg readme
2019-11-01 07:31:30 +01:00
Rémi Verschelde
34e479cf2f
Merge pull request #33221 from drentsoft/area2d_tutorial_link
Added link to Area2D tutorial in documentation.
2019-11-01 06:44:48 +01:00
Rémi Verschelde
13238af287
Merge pull request #33219 from YeldhamDev/smarter_editor_dim
Make the editor dimming smarter
2019-11-01 06:42:00 +01:00
Jonathan Mannancheril
e70e894433
Add new file in libogg readme 2019-10-31 17:30:36 -05:00
Derwent Ready (drentsoft)
1758a6f494 Added link to Area2D tutorial in documentation. 2019-10-31 20:59:13 +00:00
Michael Alexsander
36c4fd8935 Make the editor dimming smarter 2019-10-31 16:58:53 -03:00
PouleyKetchoupp
74271712a8 Code sections improvements in editor help
- Removed extra new lines around code blocks
- Different color for code and code blocks to make them more visible
2019-10-31 18:47:12 +01:00
Derwent Ready (drentsoft)
1e07ab8564 Added documentation for the OS class MIDI functions. 2019-10-31 16:52:55 +00:00
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