Commit graph

18886 commits

Author SHA1 Message Date
Windy Darian
c478f30321 Support script global class (class_name) when importing a scene
We could already choose a script global class for root_type at scene import config. However, it would fall back to default Spatial if a script global class is chosen. This will make sure the base type for the script class is used, and the script to root node is attached upon import.
2019-01-29 23:25:57 -05:00
Rémi Verschelde
35bb52011a
Merge pull request #25391 from hpvb/fix-dri-prime-detect
Properly detect when to use DRI_PRIME
2019-01-29 10:11:49 +01:00
Rémi Verschelde
9007202a13
Merge pull request #25441 from WolfgangSenff/patch-1
Fix non-compiling typo in Expression.xml example
2019-01-29 09:03:29 +01:00
Rémi Verschelde
308e66442e
Merge pull request #25439 from YeldhamDev/color_picker_toggle_fixup
Small fixup on button toggle behaviour in ColorPicker
2019-01-29 08:57:45 +01:00
Rémi Verschelde
faad3a013a
Merge pull request #25443 from BastiaanOlij/fix_vsync_osx
Using DisplayLink to emulate vsync on OSX
2019-01-29 08:34:27 +01:00
Bastiaan Olij
b53f2d1d59 Using DisplayLink to emulate vsync on OSX 2019-01-29 17:00:35 +11:00
Kyle Szklenski
fb61080812
Fix non-compiling typo in Expression.xml example
Slight typo in Expression.xml prevented compilation when copy/pasted.
2019-01-28 16:38:13 -05:00
Rémi Verschelde
f32c826924
Merge pull request #25429 from akien-mga/cleanup-shadercompiler-gles23
Cleanup and identify ShaderCompilerGLES[23] differences
2019-01-28 21:33:29 +01:00
Rémi Verschelde
de6a80ee3a
Merge pull request #25430 from torshid/master
Binding for get_frustum() method of camera class
2019-01-28 21:29:31 +01:00
Yusuf
a7e6a31d7f binding for get_frustum() of camera class 2019-01-28 21:43:59 +03:00
Rémi Verschelde
20aec40757
Merge pull request #25426 from volzhs/twice-get_singleton
Remove unnecessary call VS::get_singleton() twice
2019-01-28 19:36:40 +01:00
Rémi Verschelde
b77b536582 Cleanup and identify ShaderCompilerGLES[23] differences 2019-01-28 19:28:00 +01:00
Rémi Verschelde
c4c517e13d
Merge pull request #25423 from akien-mga/gles2-spatialshader-light
GLES2: Define LIGHT Spatial shader builtin
2019-01-28 19:26:35 +01:00
volzhs
1c14da3273 Remove unnecessary call VS::get_singleton() twice 2019-01-29 02:55:13 +09:00
Michael Alexsander Silva Dias
8d3ae29e8f Small fixup on button toggle behaviour in ColorPicker 2019-01-28 15:51:57 -02:00
Rémi Verschelde
188a711c4f
Merge pull request #25420 from akien-mga/godotphysics-is-back
Revert " Deprecated Godot 3D physics engine"
2019-01-28 17:45:25 +01:00
Rémi Verschelde
1148a33b20 GLES2: Define LIGHT Spatial shader builtin
Fixes #25421.
2019-01-28 17:27:20 +01:00
Hein-Pieter van Braam
9c308023bb Properly detect when to use DRI_PRIME
We fork off twice once with and once without DIR_PRIME=1 set. We
then use the vendor string to determine what GPU to use.

We prefer (in order)
1) AMDGPU/AMDGPU-PRO/NVidia non-free driver
2) Intel driver
3) Nouveau
4) Software rendering

If a driver can't be detected it will default to DRI_PRIME=0
2019-01-28 16:21:07 +00:00
Rémi Verschelde
5876c3f089 Revert " Deprecated Godot 3D physics engine"
This reverts commit 5de5a4140b.

@reduz still intends to rework it in the future, and it's convenient to
test if issues are specific to Bullet or not, so we keep it around for
the time being.
2019-01-28 16:51:03 +01:00
Rémi Verschelde
ac01aef9e3
Merge pull request #25417 from akien-mga/svg-max-size
Prevent upscaled SVG from exceeding Image bounds
2019-01-28 16:44:13 +01:00
Rémi Verschelde
cc0842f9a6 Prevent upscaled SVG from exceeding Image bounds
Also expose Image MAX_WIDTH and MAX_HEIGHT.

Fixes #24455.
2019-01-28 16:00:15 +01:00
Rémi Verschelde
89e7c2cb13
Merge pull request #25415 from akien-mga/recursive-resource-assignments
Fix recursive assignment of Textures and other resources
2019-01-28 15:31:43 +01:00
Rémi Verschelde
402cfa983d Fix recursive assignment of Textures and BitMapFont
Fixes #24213.
2019-01-28 15:10:34 +01:00
Rémi Verschelde
70689ebffd Remove unused iostream includes 2019-01-28 12:16:22 +01:00
Rémi Verschelde
7fe66bc70f
Merge pull request #25401 from capnm/capnm-cleanup
Cleanup unused header file
2019-01-28 09:53:16 +01:00
Rémi Verschelde
de1c3f3c89
Merge pull request #25379 from Faless/net/ws/mp_docs
Update docs and errors for WebSocket module
2019-01-28 09:35:05 +01:00
Rémi Verschelde
cee84d1ed8
Merge pull request #25402 from AndreaCatania/sp_ce
Fixed Rigidbody first frame center spawn
2019-01-28 09:11:12 +01:00
Andrea Catania
8d4617439c Fixed Rigidbody first frame center spawn 2019-01-28 08:30:26 +01:00
Martin Capitanio
e07e154ebf Cleanup unused header 2019-01-28 06:29:39 +01:00
Leon Krause
bd55ac8964
Merge pull request #25397 from lethiandev/fix-gles2-polygon-drawing
Fix polygon drawing on WebGL1
2019-01-28 04:02:25 +01:00
Fabio Alessandrelli
14e59ff112 Update docs and errors for WebSocket module 2019-01-28 02:12:50 +01:00
Juan Linietsky
2e5ede7a4e Properly discard fragments during depth prepass opaque pass, fixes #23321 2019-01-27 20:20:07 -03:00
Konrad Nowakowski
a0bdd9605a Fix polygon drawing on WebGL1 2019-01-27 23:09:18 +00:00
Juan Linietsky
11642b92d1 Avoid cyclic resource loading of any type, fixes #22673 2019-01-27 19:24:55 -03:00
Juan Linietsky
0d438c7b18 Make CSG Shape work with GIProbe, fixes #20465 2019-01-27 18:29:17 -03:00
Rémi Verschelde
7e99ac22ae
Merge pull request #25366 from clayjohn/visual_shader_builtins
Updated visual shader builtins
2019-01-27 22:23:32 +01:00
Juan Linietsky
98ffb6b37e Instantiate global classes properly, fixes #20857 2019-01-27 18:18:54 -03:00
Rémi Verschelde
d0f289b0d9
Merge pull request #25314 from marxin/fix-24417-class-memaccess
Fix class memaccess
2019-01-27 21:32:26 +01:00
Juan Linietsky
45a400d90e Do not restrict light texture type (wont work with atlas, though) 2019-01-27 16:58:18 -03:00
Juan Linietsky
0c60d4c682 Properly get proxy texture size for canvas light, fixes #17067 2019-01-27 16:57:05 -03:00
Juan Linietsky
953cd03ea6 Use transparent framebuffer only when set to transparent, closes #21827 2019-01-27 15:47:17 -03:00
Juan Linietsky
70d6d0fa69 Fix problem blending from state to state in statemachine node, closes #21944 2019-01-27 15:21:54 -03:00
Rémi Verschelde
2ad6212a3f
Merge pull request #25372 from JFonS/add_gizmo_docs
Minor fixes and documentation for Spatial Gizmos
2019-01-27 19:06:42 +01:00
JFonS
e90fb5b0ab Minor fixes and documentation for Spatial Gizmos 2019-01-27 18:40:01 +01:00
Rémi Verschelde
4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Rémi Verschelde
59459ed4b2
Merge pull request #25370 from akien-mga/mono-lowercase-pathext
Mono: Test Windows binaries with lowercase extension
2019-01-27 18:28:01 +01:00
Rémi Verschelde
1bed784c9a
Merge pull request #25380 from godotengine/fix_pivot
Fixes the pivot setting with control nodes
2019-01-27 18:20:06 +01:00
Rémi Verschelde
eb1e3ee232
Merge pull request #25382 from groud/change_frame_before_signal
Change the frame number before triggering the animation_finished signal
2019-01-27 18:11:29 +01:00
Rémi Verschelde
86e1de71df
Merge pull request #25383 from akien-mga/editorinspector-property_changed_update_all
Fix EditorInspector property_changed argument mismatch
2019-01-27 17:58:12 +01:00
Juan Linietsky
a089061120 Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378. 2019-01-27 13:41:47 -03:00