Commit Graph

18838 Commits

Author SHA1 Message Date
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 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
Rémi Verschelde 563139e5f3 Fix EditorInspector property_changed argument mismatch
Bug introduced in #21701, missed in 541422a4a2.
2019-01-27 17:37:24 +01:00
Gilles Roudiere 30dd1815e4 Change the frame number before triggering the animation_finished signal 2019-01-27 17:31:55 +01:00
Rémi Verschelde b494de34aa
Merge pull request #25381 from groud/disable_layout_menu
Disables the Layout menu when a Control node is child of a container
2019-01-27 17:03:17 +01:00
Gilles Roudiere d3619f8743 Disables the Layout menu when a Control node is child of a container 2019-01-27 16:36:10 +01:00
Gilles Roudiere 3cfd80b0bf Fixes the pivot setting with control nodes 2019-01-27 15:51:45 +01:00
Rémi Verschelde 92a3f11de6
Merge pull request #25374 from akien-mga/doc-animatedtexture
Document AnimatedTexture and bind MAX_FRAMES constant
2019-01-27 14:25:35 +01:00
Rémi Verschelde 237c00be0b Fix and improve code owners 2019-01-27 13:22:30 +01:00
Rémi Verschelde 17b2b17471 Document AnimatedTexture and bind MAX_FRAMES constant
Closes #24935.
2019-01-27 13:11:57 +01:00
Rémi Verschelde 57c0082533 Mono: Test Windows binaries with lowercase extension
To help users writing good cross-platform code, Godot's
`FileAccessWindows:open()` will issue a warning on case mismatch, which
happens here with capitalized extensions given by `PATHEXT` compared to
actual file extensions which are lowercase 99% of the time.

Fixes #25368.
2019-01-27 11:54:32 +01:00
Rémi Verschelde e2b839134d
Merge pull request #25367 from akien-mga/bullet-debug
Bullet: Enable BT_DEBUG on debug builds
2019-01-27 11:27:50 +01:00
Rémi Verschelde 3e78a55e14 Bullet: Enable BT_DEBUG on debug builds
Fixes #25301.
2019-01-27 11:08:01 +01:00
Rémi Verschelde 4a8dc09eab
Merge pull request #25340 from akien-mga/gdnative-gcc-ice-armv7hl
Workaround GCC 6 & 7 ICE on armv7hl
2019-01-27 10:58:44 +01:00
Rémi Verschelde e321004098
Merge pull request #25356 from muiroc/bug_web_comp_tex
Fix S3TC texture loading for WebGL
2019-01-27 09:41:50 +01:00
Juan Linietsky 1253b9c038 Add a check to help find transforms that are passes invalid. 2019-01-26 19:10:11 -03:00
Rémi Verschelde c3b0ee5941 Fix code style issues 2019-01-26 22:35:31 +01:00
Rémi Verschelde 16fa788510 i18n: Sync translation template with current source 2019-01-26 22:27:36 +01:00
muiroc d1e399a971 fix s3tc support detection for webgl 2019-01-26 22:25:03 +01:00
Rémi Verschelde 8cc9bf5969 i18n: Sync translations with Weblate 2019-01-26 22:24:25 +01:00
Rémi Verschelde 433b8ee526 doc: Sync classref with current source 2019-01-26 22:21:53 +01:00
Rémi Verschelde d9268265dc
Merge pull request #25354 from Ranoller/patch-5
Profiler list functions from max to less expensive
2019-01-26 20:44:10 +01:00
Rémi Verschelde d355469c1f
Merge pull request #25300 from neikeq/improve-thread-id
Improve custom thread numbering for POSIX
2019-01-26 20:33:18 +01:00
Juan Linietsky ed1b9c1f15 Avoid crash in import (though model still does not work well), fixes #19346 2019-01-26 16:32:05 -03:00
Rémi Verschelde 33d8c19999 doc: Add caveat for File.file_exists for imported resources
Fixes #25347.
2019-01-26 20:25:36 +01:00
Ranoller d7c72dc2d1
Profiler list functions from max to less expensive
Solves https://github.com/godotengine/godot/issues/25328 and partially  https://github.com/godotengine/godot/issues/5682
2019-01-26 19:54:04 +01:00
Juan Linietsky c2f59de212 Warn of invalid pointer when converting object to RID, closes #19023 2019-01-26 15:41:26 -03:00
Juan Linietsky b203f80dfc Rewrite how font oversampling is updated more carefully, fixes #24338 2019-01-26 14:57:17 -03:00
Hein-Pieter van Braam a8510331c0 Fix compilation on UWP
It appears that MSVC and Mingw disagree about what conversions are legal
here. We just use the 'wide' version of the call and use our native
CharType instead of TCHAR.
2019-01-26 16:27:10 +01:00
Juan Linietsky 18c3ed245a Further fixes to avoid memory corruption, closes #25336 2019-01-26 10:47:04 -03:00
Rémi Verschelde 2211d73300 Workaround GCC 6 & 7 ICE on armv7hl
Fixes #16100.
2019-01-26 14:37:36 +01:00
Rémi Verschelde 1365bed8ed
Merge pull request #25338 from DualMatrix/search_inaccurate
Fixed Recent/Favorite in Create Node dialog not selecting right node
2019-01-26 14:24:35 +01:00
DualMatrix e3648c0a79 Fixed Recent/Favorite in Create Node dialog not selecting right node
Fixes #6535
2019-01-26 13:52:53 +01:00
Rémi Verschelde 35c1694c04
Merge pull request #24923 from groud/add_color_audio_buses_buttons
Adds color to the audio buses buttons
2019-01-26 12:02:24 +01:00
Rémi Verschelde 62e3d50b17
Merge pull request #25335 from aqnuep/issue-24971
Changed ImageTexture image cache type to the correct one, fixes #24971
2019-01-26 11:06:33 +01:00
Daniel Rakos 5fcb03f6b6 Changed ImageTexture image cache type to the correct one, fixes #24971
The original attempt to fix the issue was accidentally using the wrong
type for the image cache. This change fixes that.
2019-01-26 09:12:38 +01:00
Rémi Verschelde 6e600706e9
Merge pull request #25237 from eska014/pjmgr-rasterizerselect
Add renderer selection to New Project dialog
2019-01-26 00:14:45 +01:00
Juan Linietsky 973b68f396 Properly dispose of custom shaders, closes #19300 2019-01-25 19:28:27 -03:00
Juan Linietsky b3335e943b Implement missing autorestart in oneshot node, closes #22238 2019-01-25 18:15:29 -03:00
Juan Linietsky b0758b2d73 Stop preview generator before reimporting resources with different type. 2019-01-25 17:27:50 -03:00
Juan Linietsky 5bd3f72878 Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874 2019-01-25 17:23:56 -03:00
Juan Linietsky 6d4d55cd42 Do not use depth prepass if effects are disabled, fixes #25267 2019-01-25 15:58:07 -03:00
Juan Linietsky 853f985b63 Make sub-inspectors not listen to node removals, since they never edit nodes. Fixes #23554 2019-01-25 15:14:56 -03:00
Juan Linietsky 32fa136cc7 Ability to keep images in ImageTexture cached while using editor, fixes #25243 2019-01-25 13:40:23 -03:00
Rémi Verschelde 3b2e854f4b
Merge pull request #25322 from godotengine/revert-25319-fix_contact_shadow_502
Revert "Fix GLES3 error 502 on iOS"
2019-01-25 16:01:46 +01:00
Bastiaan Olij fe72e69c79
Revert "Fix GLES3 error 502 on iOS" 2019-01-26 01:51:41 +11:00