Commit graph

19112 commits

Author SHA1 Message Date
JFonS fe6123fca4 Fix local_delta when resetting CPUParticles 2019-02-01 17:16:09 +01:00
Marc Gilleron 81a5eb4d18 Don't modify font which could potentially not be the editor one yet 2019-02-01 16:59:55 +01:00
Rémi Verschelde 869887641f
Merge pull request #25547 from hpvb/fix-25507
When an animationplayer sets a property on itself recreate the caches
2019-02-01 16:32:45 +01:00
Hein-Pieter van Braam 37aa06bf8a When an animationplayer sets a property on itself recreate the caches
this fixes #25507
2019-02-01 16:15:39 +01:00
Marc Gilleron fb2eb66e40 Fixed uninitialized log member due to THEME_CHANGED notification 2019-02-01 15:30:44 +01:00
Rémi Verschelde 58de384978
Merge pull request #25540 from JFonS/remove_gizmo_errors
Fix gizmo errors on "Align with view"
2019-02-01 14:12:37 +01:00
JFonS 2232d3336e Fix gizmo errors on "Align with view" 2019-02-01 12:16:05 +01:00
Hugo Locurcio 355d65aa8d
Fix a font oversampling warning being printed when it shouldn't 2019-01-31 19:49:10 +01:00
bruvzg 50e2c1e184
[macOS] Fix rendering on retina displays with HiDPI support disabled. 2019-01-31 19:24:57 +02:00
Marc Gilleron ae9a23e36c Moved script editor search bar to the bottom, so it doesn't shift everything down 2019-01-31 16:44:40 +01:00
Bojidar Marinov d2e43475b5
Fix wrong error messages for invalid arguments when calling functions through call
Fixes #25505
2019-01-31 17:02:18 +02:00
Marc Gilleron 08ea2aedd2 Explain how to use Expression inputs 2019-01-31 15:52:17 +01:00
Bojidar Marinov abfeba8d12
Fix crashes when calling update_bitmask_area
Fixes #25504
2019-01-31 11:48:37 +02:00
homer666 07e27cd197 [DOCS] Update PhysicsDirectSpaceState.cast_motion 2019-01-31 20:39:40 +11:00
Rémi Verschelde 463123a661
Merge pull request #25494 from RandomShaper/fix-21677
Let memory stat functions return uint64_t
2019-01-31 10:33:18 +01:00
Rémi Verschelde 6225b17d5f
Merge pull request #25493 from bojidar-bg/21601-astar-segfault
Fix AStar crashing with large (>1e30) estimated values
2019-01-31 10:32:22 +01:00
K. S. Ernest (iFire) Lee b83c3827f3 Add check in folding to see if the nodepath exists to avoid message spam. 2019-01-30 20:19:44 -08:00
Bojidar Marinov e34a4c63a7
Fix AStar crashing with large (>1e30) estimated values
Fixes #21601
2019-01-30 20:22:08 +02:00
Pedro J. Estébanez 496d8f19fc Let memory stat functions return uint64_t 2019-01-30 19:07:46 +01:00
Rémi Verschelde c21ca98e4c
Merge pull request #25469 from ankitpriyarup/master
Fixes error when new name contains only unallowed characters
2019-01-30 12:05:35 +01:00
Rémi Verschelde 629ac20a14
Merge pull request #25489 from AndreaCatania/assert
Avoid inertia calculation for empty shape - Bullet
2019-01-30 11:02:50 +01:00
Andrea Catania 5a26c7e0e5 Avoid inertia calculation for empty shape - Bullet 2019-01-30 10:33:33 +01:00
Hein-Pieter van Braam d308eb091a Fix many asan and ubsan reported issues
This allows most demos to run without any ubsan or asan errors. There
are still some things in thirdpart/ and some things in AudioServer that
needs a look but this fixes a lot of issues. This should help debug less
obvious issues, hopefully.

This fixes #25217 and fixes #25218
2019-01-30 06:43:56 +01:00
Hugo Locurcio 9ed7096aae
Update the changelog with new features added in 3.1
[ci skip]
2019-01-30 00:42:21 +01:00
Ankit Priyarup ee560dd987 Invalid node name should check if new_name is empty then cancel rename, fixes 25226 2019-01-29 22:21:50 +05:30
toger5 ef99f034b4 [DOCS] rephrase impulse
- improove coordinate system explanation
 - define usecase
2019-01-29 13:05:20 +01: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