Commit Graph

39798 Commits

Author SHA1 Message Date
lawnjelly 6db29583f2 Faster Path2D drawing with polyline
Changes the Path2D drawing to use POLYLINE instead of thick lines.
2021-12-01 15:23:27 +00:00
Rémi Verschelde dc4b8f8487
Merge pull request #55502 from DeleteSystem32/mp3_fixes 2021-12-01 16:13:07 +01:00
Yuri Roubinsky 5ee73dc5a6 Fix shader crash when using existed constant name for struct 2021-12-01 18:11:45 +03:00
Yuri Roubinsky fe6ff61130
Merge pull request #55510 from Chaosus/shader_fix_const_arrays 2021-12-01 17:32:00 +03:00
Yuri Roubinsky a48c205191 Fix declaring array size twice in global shader constant 2021-12-01 16:44:25 +03:00
Vincent 2d0068d1cb Fix crash when loading an invalid mp3 file 2021-12-01 14:30:38 +01:00
Yuri Roubinsky 56f73a7e29
Merge pull request #55508 from Chaosus/shader_fix_semicolon 2021-12-01 14:12:59 +03:00
Yuri Roubinsky 5ba93619fa Allow using empty statements in the shader, added formatting warning 2021-12-01 11:52:25 +03:00
bruvzg 371010c5f9
HarfBuzz: Update to version 3.1.2 2021-12-01 09:37:48 +02:00
Aaron Franke 9687f6fca3
Warn when using an AABB or Rect2 with a negative size 2021-11-30 18:27:58 -06:00
kobewi 244c5ecc64 Misc improvements to various docs 2021-11-30 23:53:58 +01:00
Hugo Locurcio 89849a9ed9
Rename `AStar.get_points()` to `AStar.get_point_ids()` for clarity
The same has been done for AStar2D as well.
2021-11-30 22:14:39 +01:00
Aaron Franke 129911f61a
Improve Curve with const and real_t 2021-11-30 14:24:27 -06:00
Rémi Verschelde e223a9c129
Merge pull request #55486 from nekomatata/physics-contacts-debug 2021-11-30 20:21:54 +01:00
Rémi Verschelde ffc6395aca
Merge pull request #55485 from KoBeWi/is_there_something_this_tool_can't_do_lol 2021-11-30 20:18:41 +01:00
Rémi Verschelde 5643f5e616
Merge pull request #55490 from Chaosus/fix_shader_crash 2021-11-30 20:13:12 +01:00
Rémi Verschelde 7e0537bd79
Merge pull request #55301 from Chaosus/vs_fix_meshemitter_crash 2021-11-30 19:41:11 +01:00
Rémi Verschelde bdd118e765
Merge pull request #55431 from Chaosus/shader_fix_constants 2021-11-30 19:40:52 +01:00
Yuri Roubinsky be7c03779a Fix shader crash when assigning array to non-array in global constant 2021-11-30 21:28:55 +03:00
Rémi Verschelde a5b1244ebe
Merge pull request #55469 from KoBeWi/ln 2021-11-30 19:12:31 +01:00
kobewi dc472622cc Mention that Ctrl+Alt with select tool will scale 2021-11-30 17:36:39 +01:00
PouleyKetchoupp 1ce74c0273 Fix physics 2D/3D contact points rendering
Physics internal process was removed by mistake, it's needed for contact
points to be updated each frame.

Fixed some multimesh parameters to allow 3D contact points to be drawn,
although it's still not working well in 3D as only some of the contact
points are drawn, and some of them keep being drawn when the number
of visible instances drops to 0 instead of hiding them all.
2021-11-30 09:35:12 -07:00
Yuri Sizov d567ce3582 Make default/project theme wait for modules before initializing 2021-11-30 19:09:29 +03:00
Rémi Verschelde 2f8cb1547c
Merge pull request #55477 from pycbouh/editor-crash-script-parent-check 2021-11-30 17:03:14 +01:00
Gilles Roudière 4fc0fb826a Change gdnative interface so that Godot object initialization should be triggered from the extension side 2021-11-30 16:55:48 +01:00
Rémi Verschelde 7da392bcc5
Don't return reference on copy assignment operators
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this
can lead to confusing code and subtle bugs.

According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++
allows any arbitrary return type, so this is standard compliant.

This could be re-assessed if/when we have an actual need for a behavior more
akin to that of the C++ STL, for now this PR simply changes a handful of
cases which were inconsistent with the rest of the codebase (`void` return
type was already the most common case prior to this commit).
2021-11-30 16:26:29 +01:00
Yuri Sizov 98ad5cd3db Fix a crash in editor's script parent class check 2021-11-30 17:44:22 +03:00
kobewi 30df260810 Improve language lists in localization editor 2021-11-30 15:29:41 +01:00
Rémi Verschelde 2a702cff41
Merge pull request #55467 from akien-mga/remove-editor-splash-screen-platinum 2021-11-30 14:55:37 +01:00
Rémi Verschelde c283fce698
Remove editor splash screen with sponsors logo
The Godot Project Leadership Committe has decided to update the sponsoring
tiers so that the Platinum Sponsorship no longer includes a logo on the
editor splash screen.

This lets us reclaim the editor splash screen space for community-related
content instead of sponsors (e.g. a different community-designed splash
screen for each stable branch?).

Also removes two Platinum Sponsors whose sponsorship has expired earlier this
year.
2021-11-30 12:47:25 +01:00
Rémi Verschelde 2d118bd8b8
Merge pull request #55466 from Faless/js/4.x_input_fix_touch 2021-11-30 12:20:00 +01:00
Fabio Alessandrelli 470496d8d4 [HTML5] Fix multi-touch input handling.
The code to populate the input data for WebAssembly was incorrectly
overriding values when multiple touches were present due to wrong
indexing.
2021-11-30 11:10:21 +01:00
Rémi Verschelde 75d1ae4dac
Merge pull request #55427 from zacryol/tab-container-clarify 2021-11-30 10:56:13 +01:00
Rémi Verschelde 2f7988cd2f
Merge pull request #55177 from Calinou/add-4.0-dev-changelog 2021-11-30 10:01:42 +01:00
zacryol 5c645d510f Clarify usage of TabContainer
Makes it more clear that TabBar is separate from TabContainer, and that the container draws the tabs itself.
2021-11-29 18:01:09 -07:00
Rémi Verschelde cf67f18ce9
Merge pull request #55454 from ator-dev/block-hidden-tab-close-4.0
Prevent hidden tab close buttons from intercepting input [4.0]
2021-11-30 00:15:33 +01:00
Rémi Verschelde 03cfdf8cc7
Merge pull request #55451 from Calinou/scene-tree-dock-fix-icon-theme-change
Fix scene tree dock icon not switching colors on theme change
2021-11-29 23:48:20 +01:00
Gilles Roudière aa74494ab9
Merge pull request #55445 from fazil47/master
Right-clicking with copied tiles cancels it
2021-11-29 21:33:55 +01:00
ator-dev 8c2b7ea537 Prevent hidden tab close buttons from intercepting input [4.0] 2021-11-29 20:25:42 +00:00
Fazil Babu 61c2d397d6 Right-clicking with copied tiles cancels it 2021-11-30 00:23:44 +05:30
Hugo Locurcio 9c6032b46a
Fix scene tree dock icon not switching colors on theme change
This fixes the "three vertical dots" button at the right of the
scene tree dock when switching from a dark theme to a light theme
or vice versa.
2021-11-29 19:42:06 +01:00
Rémi Verschelde 9d3875dde7
Merge pull request #55408 from madmiraal/fix-54517 2021-11-29 17:30:13 +01:00
Rémi Verschelde 76fb6f1927
Merge pull request #55443 from Calinou/doc-spritebase3d-modulate-material-override 2021-11-29 16:59:01 +01:00
Rémi Verschelde 9c116fcf0a
Merge pull request #55377 from RedHeadphone/patch-1 2021-11-29 16:24:14 +01:00
Hugo Locurcio 4868331897
Document using SpriteBase3D's `modulate` property with material override 2021-11-29 16:07:21 +01:00
Marcel Admiraal 272b3c3728 Enable sorting of operator methods in class documentation. 2021-11-29 14:51:44 +00:00
Rémi Verschelde e4a7ee0da9
Merge pull request #55437 from KoBeWi/show_tooltips_only_when_node_is_not_paused_and_when_it's_paused_don't_show_master_edition 2021-11-29 15:40:54 +01:00
Rémi Verschelde 2771bced6b
Merge pull request #55341 from ator-dev/fix-line-deletion 2021-11-29 14:48:56 +01:00
Rémi Verschelde cae5615a22
Merge pull request #55417 from ekumlin/issue-54856 2021-11-29 14:46:01 +01:00
Rémi Verschelde d2ac4bb48e
Merge pull request #55052 from RPicster/master-particles-visibility-rect 2021-11-29 14:30:58 +01:00