Ignacio Etcheverry
ea85ff0dc2
Fix properties being lost when reloading placeholder GDScript instance
...
During reloading in `GDScriptLanguage::reload_all_scripts` a placeholder instance that must remain so is replaced with a new placeholder instance. The state is then restored by calling `ScriptInstance::set` for each property. This does not work if the script is missing the properties due to build/parse failing.
The fix for such cases is to call `placeholder_set_fallback` instead of `set` on the script instance.
I took this chance to move the `build_failed` flag from `PlaceHolderScriptInstance` to `Script`. That improves the code a lot. I also renamed it to `placeholder_fallback_enabled` which is a much better name (`build_failed` could lead to misunderstandings).
2019-01-10 01:58:50 +01:00
Rémi Verschelde
9a8569d434
Merge pull request #24155 from akien-mga/scons-msvc-bits
...
SCons: Properly set bits variable as string for MSVC detection
2018-12-04 15:10:33 +01:00
Rémi Verschelde
a99e90b258
SCons: Properly set bits variable as string for MSVC detection
2018-12-04 14:30:49 +01:00
Rémi Verschelde
e4ebe3db26
Merge pull request #24129 from mrcdk/export_array_with_arguments
...
Arrays now parse the hint_string in the new inspector.
2018-12-04 10:59:19 +01:00
Rémi Verschelde
3a889f2684
Merge pull request #24140 from aroncds/master
...
Fix csgshape collider without object id
2018-12-04 10:56:39 +01:00
Rémi Verschelde
83a5c808ab
Merge pull request #24143 from ibrahn/make-ustring-op-const
...
const char* operator on CharString now const.
2018-12-04 10:54:07 +01:00
Ibrahn Sahir
a758653199
const char* operator on CharString now const.
2018-12-03 20:25:23 +00:00
Aron Castro
3aeeaa9318
Fix csgshape collider without object id
2018-12-03 16:06:30 -02:00
MrCdK
9c91cc00ea
Arrays now parse the hint_string in the new inspector.
...
Also, if a hint_string is given, when changing the size of an Array the new elements are initialized to the default value of that type hint.
2018-12-03 19:05:22 +01:00
Rémi Verschelde
6f9aa8727c
Merge pull request #23991 from glaforte/bugfix/19195
...
Generate the tangents without de-indexing and re-indexing the vertices.
2018-12-03 17:35:50 +01:00
Rémi Verschelde
b0c66154a4
Merge pull request #23989 from bruvzg/fix_macos_icons
...
Fix macOS icon export (add 1024px PNG icon and 32px/16px RLE icons).
2018-12-03 17:35:23 +01:00
Rémi Verschelde
0dd89a3d97
Merge pull request #24051 from Omicron666/patch-1
...
Fixes typo in source string sent to translation.
2018-12-03 17:34:49 +01:00
Rémi Verschelde
f6732ff164
Merge pull request #24062 from asheraryam/feature/editor_instance_natural_names
...
Use filename instead of the class name for drag & drop Mesh Instance.
2018-12-03 17:33:48 +01:00
Rémi Verschelde
49573817b8
Merge pull request #24078 from marcelofg55/win_min_bug
...
Fix wrong size and position when windows is minimized on Windows
2018-12-03 17:32:35 +01:00
Rémi Verschelde
e6b0327c2c
Merge pull request #24112 from allkhor/rich_label_update_cache
...
RichTextLabel: update the cache when the scroll hide.
2018-12-03 17:32:04 +01:00
Rémi Verschelde
29f043ff3e
Merge pull request #24126 from pgruenbacher/deprecated_get_frustum_listener
...
remove_unused_get_frustum
2018-12-03 17:31:25 +01:00
Rémi Verschelde
6fe43bb489
Merge pull request #24125 from guilhermefelipecgs/fix_mouse_cursor
...
Add missing validations to prevent crash of multiple mouse buttons being pressed
2018-12-03 17:25:40 +01:00
paul gruenbacher
66bfc29d06
remove_unused_get_frustum
2018-12-02 20:18:42 -05:00
Guilherme Felipe
26c1af4848
Add missing validations
...
Add missing validations to prevent crash of multiple mouse buttons being
pressed
2018-12-02 22:38:54 -02:00
asheraryam
79ca8e7305
Use filename as fallback instead of the class name for mesh instance loaded by dragging from file to editor.
2018-12-02 23:41:09 +02:00
Rémi Verschelde
8dd00ed176
Merge pull request #24117 from Paulb23/txt_file_last_modified_time
...
Fix text files constantly asking for reload as no last modified time
2018-12-02 21:45:24 +01:00
Rémi Verschelde
e2caaf1b6d
Merge pull request #23899 from BastiaanOlij/fix_particle_active
...
Remapped ACTIVE to shader_active, now works
2018-12-02 21:26:12 +01:00
Rémi Verschelde
f86013082e
Merge pull request #24106 from groud/fix_split_container
...
Fixes collapsed SplitContainers
2018-12-02 21:19:44 +01:00
Rémi Verschelde
d8a28368f9
Merge pull request #24105 from BastiaanOlij/cleanup_old_android_native
...
Remove obsolete ANDROID_NATIVE_ACTIVITY
2018-12-02 21:15:54 +01:00
Rémi Verschelde
f8bb7e0673
Merge pull request #24089 from clayjohn/gles2_camera_matrix_bug
...
Fixed gles2 camera_matrix bug
2018-12-02 20:48:08 +01:00
Rémi Verschelde
f730d183c7
Merge pull request #24085 from guilhermefelipecgs/fix_layout
...
Fix key icon overlapping revert icon
2018-12-02 18:09:34 +01:00
Rémi Verschelde
cda28f5077
Merge pull request #24007 from JFonS/fix_cpuparticles_scale
...
Fix "scale" property collision in CPUParticles
2018-12-02 17:56:06 +01:00
Rémi Verschelde
a27733de0d
Merge pull request #24082 from vnen/android-custom-permissions
...
Change custom permissions in Android export to an array
2018-12-02 17:37:24 +01:00
Paulb23
69fe17639e
Fix text files constantly asking for reload as no last modified time
2018-12-02 16:24:23 +00:00
Rémi Verschelde
7215f7475e
Merge pull request #24104 from guilhermefelipecgs/fix_mouse_crash
...
Fix crash when multiple mouse buttons is pressed.
2018-12-02 17:13:54 +01:00
Rémi Verschelde
3ee062908b
Merge pull request #24079 from YeldhamDev/list_editor_hide_removal
...
Fix ItemList editor not hiding on node removal
2018-12-02 17:08:56 +01:00
Rémi Verschelde
bc269451e7
Merge pull request #24057 from allkhor/redo_menu_option
...
TextEdit: added redo option to the context menu
2018-12-02 17:07:10 +01:00
allkhor
c80b9e9173
RichTextLabel: update the cache when the scroll hide.
2018-12-02 05:06:38 +06:00
groud
136847e5c3
Fixes collapsed SplitContainers
2018-12-01 17:31:37 +01:00
Bastiaan Olij
6105a8beb1
Remove obsolete ANDROID_NATIVE_ACTIVITY
2018-12-02 00:48:37 +11:00
Guilherme Felipe
ea6a5bb8fb
Fix crash when multiple mouse buttons is pressed.
2018-12-01 11:25:43 -02:00
Bastiaan Olij
0b4b477674
Remapped ACTIVE to shader_active, now works
2018-12-01 21:10:04 +11:00
Ignacio Etcheverry
ca28c455bf
Merge pull request #24098 from neikeq/kk
...
Fix crash due to ~CSharpInstance() being called on freed instance
2018-12-01 02:38:58 +01:00
Ignacio Etcheverry
f6f2be7577
Fix crash due to ~CSharpInstance() being called on freed instance
...
This would be the case when calling SetScript on an object with a C# script.
2018-12-01 02:28:24 +01:00
Ignacio Etcheverry
b613c29053
Merge pull request #24092 from neikeq/jj
...
Implement CSharpScript::is_valid()
2018-11-30 22:09:23 +01:00
Ignacio Etcheverry
5fd3ef4e78
Implement CSharpScript::is_valid()
2018-11-30 21:45:44 +01:00
Ignacio Etcheverry
989b93d6a4
Merge pull request #24091 from neikeq/ii
...
C#: Improve tool script support and fix reloading issues
2018-11-30 21:39:13 +01:00
Ignacio Etcheverry
b9b7dcdf00
C#: Improve tool script support and fix reloading issues
2018-11-30 20:43:06 +01:00
clayjohn
fd7607bf82
fixed gles2 camera_matrix bug
2018-11-30 10:20:16 -08:00
Guilherme Felipe
2015c74104
Fix key icon overlapping revert icon
2018-11-30 14:00:04 -02:00
JFonS
4ede92bdc8
Fix "scale" property collision in CPUParticles
2018-11-30 16:05:50 +01:00
George Marques
22233ded4a
Change custom permissions in Android export to an array
...
Don't limit the amount of permissions and makes it simpler to
understand.
2018-11-30 11:13:50 -02:00
Michael Alexsander Silva Dias
2823251c2f
Fix ItemList editor not hiding on node removal
2018-11-30 01:59:29 -02:00
Marcelo Fernandez
711bc1c07e
Fix wrong size and position when windows is minimized on Windows
2018-11-30 00:36:48 -03:00
allkhor
7831cd76ab
TextEdit: added redo option to the context menu
2018-11-29 23:21:43 +06:00