Commit graph

19550 commits

Author SHA1 Message Date
Rémi Verschelde
38bfd2fda6
Merge pull request #26383 from neikeq/issue-26302
Sanitize file paths before extracting export templates
2019-02-28 12:36:49 +01:00
Rémi Verschelde
1e266d874d X11: Fix drag and drop from non-latin paths
Fixes #25826.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2019-02-28 12:32:39 +01:00
Rémi Verschelde
f2003b1a7e
Merge pull request #26034 from QbieShay/issue_25596
Inheriting from virtual class no longer causes the engine to crash.
2019-02-28 11:00:20 +01:00
Rémi Verschelde
a4b687bdab
Merge pull request #26386 from YeldhamDev/tileset_editor_dynamic_workspace
Make TileSet editor's workspace change size according to region changes
2019-02-28 09:49:05 +01:00
Rémi Verschelde
41708eb821
Merge pull request #26335 from ericrybick/26247
Fix project_settings entry creation for global scripts.
2019-02-28 09:34:50 +01:00
Juan Linietsky
5efd693384 Massive improvement to GLES2 performance, rewrote most ShaderGLES2 class.
This fixes #26337
2019-02-27 23:49:34 -03:00
Michael Alexsander Silva Dias
6cf1a94af0 Make TileSet editor's workspace change size according to region changes 2019-02-27 22:40:54 -03:00
Ignacio Etcheverry
8e98be5991 Sanitize file paths before extracting export templates 2019-02-28 00:25:55 +01:00
Juan Linietsky
9ca6ffa341 Save resources even if no scene is present, closes #26273 2019-02-27 20:00:40 -03:00
Juan Linietsky
057d3e874d Detect for 24 bits oes support on GLES2, closes #26344 2019-02-27 18:57:33 -03:00
Rémi Verschelde
028303f167
Merge pull request #26373 from groud/fix_layout_loading
Fixes layout loading
2019-02-27 22:39:31 +01:00
Juan Linietsky
d8f12c4343 Avoid docks to be overriden while scanning, fixes #26359 2019-02-27 18:14:59 -03:00
Eric Rybicki
069bbd35df Hide global section in project settings when no property is defined
Prevent _global_script entries in project settings without section from being loaded

fixes #26247
2019-02-27 21:45:55 +01:00
Rémi Verschelde
ed37408907
Merge pull request #26257 from kaadmy/procedural_sky_sun_energy
Use sun energy for ProceduralSky generation
2019-02-27 21:42:28 +01:00
Rémi Verschelde
df2491c253
Merge pull request #26354 from Pobega/elaborate-manual-animation-quirks
docs: Elaborate AnimationPlayer manual advancing
2019-02-27 21:42:08 +01:00
Gilles Roudiere
04fb1069cd Fixes layout loading 2019-02-27 21:36:12 +01:00
Michael Pobega
ffa22c9273 Elaborate AnimationPlayer manual advancing
Elaborate the difference between AnimationPlayer::advance and
AnimationPlayer::seek, specifically how intermediary events are handled for
each.

From the docs it is unclear that AnimationPlayer::advance is more of a
'fast-forward', playing each event (including function calls) between the two
points.
2019-02-27 15:34:23 -05:00
Rémi Verschelde
09a541edd0
Merge pull request #26287 from JFonS/fix_25992
Use item_shadow_mask for LightOccluder2D culling
2019-02-27 21:28:31 +01:00
Rémi Verschelde
7431db42f0
Merge pull request #26361 from nuke-makes-games/patch-2
Update ScrollContainer description to be less ambiguous.
2019-02-27 20:45:53 +01:00
QbieShay
8f22c2684f Inheriting from virtual class no longer causes the engine to crash, it prints an error instead.
Co-authored-by: Hein-Pieter van Braam <hp@tmm.cx>
2019-02-27 20:42:20 +01:00
nuke
cab790a49d
Update ScrollContainer description to be less ambiguous. 2019-02-27 12:24:56 -05:00
Juan Linietsky
a5370b1b1b -Fix problem of order of import plugins, closes #26340
-Ensure resource previewer does not start until first import is done
2019-02-27 14:11:17 -03:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Juan Linietsky
eb2b9b88a9 Make sure restoring opened scenes happens after scanning is done. 2019-02-27 11:00:32 -03:00
Ivan Ponomarev
288ff2fd08 Android: Fixed a possible crash in keyboard hide method. It's called not from main thread so InputMethodManager can't be used directly. 2019-02-27 16:59:50 +03:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
Was a leftover from 0a1c1c660f.
Fixes #21633.
2019-02-27 15:56:49 +02:00
Rémi Verschelde
36de6c1e3c
Merge pull request #26328 from ivanarh/master
Android: Fixed problems with memory leaks due to absent ReleaseStringUTFChars calls.
2019-02-27 14:08:42 +01:00
Juan Linietsky
f1e3bb0a15 Fixed issue where descriptor is left hanging, which causes file locked on Windows, closes #26342 2019-02-27 09:37:19 -03:00
Ivan Ponomarev
1073f0b423 Android: Fixed problems with memory leaks due to absent ReleaseStringUTFChars calls. 2019-02-27 15:11:08 +03:00
Rémi Verschelde
f0f277faf1
Merge pull request #26330 from AlmostBearded/tileseteditor_multiplecollisionshapes
Allow Creation of Multiple Collision Shapes for Tiles
2019-02-27 11:33:45 +01:00
Rémi Verschelde
8889089c1b
Merge pull request #26334 from rcorre/fix_multimesh_docs
Clarify how to use MultiMesh.set_instance_color.
2019-02-27 09:24:06 +01:00
Rémi Verschelde
372152220b
Merge pull request #26159 from marxin/fix-Wsuggest-attribute=format
Fix -Wsuggest-attribute=format warnings.
2019-02-27 09:23:26 +01:00
Rémi Verschelde
426a6fdc17
Merge pull request #26134 from marxin/fix-Wsign-compare
Fix -Wsign-compare warnings.
2019-02-27 09:22:47 +01:00
Rémi Verschelde
0ba75c195e Fix GCC 5 build after #26331 and cleanup style
Also cleanup after 01a3dd3.
2019-02-27 09:01:24 +01:00
marxin
e5f665c718 Fix -Wsign-compare warnings.
I decided to modify code in a defensive way. Ideally functions
like size() or length() should return an unsigned type.
2019-02-27 07:45:57 +01:00
marxin
aff84ec55d Fix -Wsuggest-attribute=format warnings. 2019-02-27 06:56:50 +01:00
Juan Linietsky
caa42667e8 If resources on disk have subresources and they are edited, also save the resource on ctrl-s 2019-02-26 23:48:30 -03:00
Ryan Roden-Corrent
b1c221d5ab
Clarify how to use MultiMesh.set_instance_color.
Just calling set_instance_color will do nothing unless you have set
color_format and vertex_color_use_as_albedo. This is really confusing,
and I only discovered my error by finding godotengine/godot#10217 from
another confused user.

The docs should call out these requirements.
2019-02-26 21:41:22 -05:00
Juan Linietsky
ffb9f342a5 Ensure implicit conversions for scalar constants work in shaders, closes #26239 2019-02-26 23:21:37 -03:00
Ignacio Etcheverry
df7541d2f9
Merge pull request #26333 from neikeq/ayaya
Mono: Some editor usability improvements
2019-02-27 03:16:02 +01:00
Ignacio Etcheverry
3e0846e65b Mono: Some editor usability improvements
- Move "Mono" popup menu from the top right corner to `Projects -> Tools` as a submenu.
- Add "Build solution" button to the top right corner. Makes it more visible and quicker to access.
- Fix build list in the bottom panel unselect an item when clicking on empty space. Previously it would hide the issues panel but the item would remain selected, making it impossible to display the issues panel again if there was only one item.
2019-02-27 02:45:21 +01:00
Ignacio Etcheverry
823fb59e10 Remove problematic VS Code hint path on Windows 2019-02-27 02:43:53 +01:00
Hein-Pieter van Braam
9434db47dc
Merge pull request #26331 from hpvb/fix-26284
Don't crash on previewing an AtlasTexture without a region
2019-02-27 01:47:55 +01:00
Hein-Pieter van Braam
464e1142c4 Don't crash on previewing an AtlasTexture without a region 2019-02-27 00:44:09 +00:00
Hein-Pieter van Braam
270bbee018
Merge pull request #26316 from marxin/fix-26100-Wextra-warning
Fix #26100 by casting to integer.
2019-02-27 00:19:32 +01:00
Rémi Verschelde
28a57c2c29
Merge pull request #26304 from bojidar-bg/26066-fix-exported-poolarray
Fix GDScript exports having the wrong type of default value by converting it
2019-02-27 00:16:02 +01:00
Juan Linietsky
01a3dd389c Remove references to OES24, which is incompatible with many devices. 2019-02-26 19:45:15 -03:00
Peter Oberrauner
657f83148c Allow Creation of Multiple Collision Shapes for Tiles #24003 2019-02-26 23:45:01 +01:00
Juan Linietsky
dce1e6b5fe Clarify that ETC is required for GLES2. 2019-02-26 19:31:10 -03:00
Juan Linietsky
f669ebeeaf -Properly handle missing ETC support on export
-Added ability for resource importers to save metadata
-Added ability for resource importers to validate depending on project settings
2019-02-26 18:45:06 -03:00