Commit graph

24736 commits

Author SHA1 Message Date
Rémi Verschelde 73323a2838
Merge pull request #33763 from neikeq/issue-33725
Fix C# export error dialog showing up when it should not
2019-11-20 13:23:20 +01:00
Ignacio Etcheverry d79aeca599 Fix C# export error dialog showing up when it should not 2019-11-20 13:07:26 +01:00
Rémi Verschelde 60711e6738
Merge pull request #33750 from lupoDharkael/gradient
GradientEdit: Fix index crashes
2019-11-20 11:24:10 +01:00
Rémi Verschelde bd94c94651
Merge pull request #33737 from KoBeWi/they_came_from_canvas
Cancel drag when selection changes
2019-11-20 11:22:53 +01:00
Rémi Verschelde 3e8dec3c72
Merge pull request #33757 from akien-mga/pcre2-optional-jit
pcre2: Use scons option to disable JIT on some platforms
2019-11-20 09:08:59 +01:00
Rémi Verschelde b95bbd9883
Merge pull request #33754 from stoofin/stoofin-patch-1
Fixed bug caused by a copy/paste error in Face3::get_closest_point_to
2019-11-20 09:00:35 +01:00
Rémi Verschelde 02913f53d3 pcre2: Use scons option to disable JIT on some platforms
Third-party platforms (e.g. console ports) need to be able to
disable JIT support in the regex module too, so it can't be
hardcoded in the module SCsub. This is cleaner this way anyway.

Fixes #19316.
2019-11-20 08:54:52 +01:00
Rémi Verschelde 3be6e76f22
Merge pull request #33668 from clayjohn/Fix_environment_mapping_issues
Fix issues with environment mapping
2019-11-20 08:45:53 +01:00
clayjohn cd40154890 Fix issues with environment mapping 2019-11-19 22:30:48 -08:00
stoofin 8abd64dcbb
Fixed bug caused by a copy/paste error in Face3::get_closest_point_to
s * edge0 = -d / a * edge0 = -edge0⋅v0 / (edge0⋅edge0) * edge0 = vector projection of -v0 onto edge0

By incorrectly using -e/c instead of -d/a, Face3::get_closest_point_to was returning the wrong point in certain cases.  Specifically, I noticed it returning vertex[0] when it should have been returning vertex[1].
2019-11-19 22:30:28 -08:00
lupoDharkael 268fe9dda5 GradientEdit: Fix index crashes 2019-11-19 22:05:37 +01:00
Rémi Verschelde 1bd32388ae
Merge pull request #33742 from volzhs/external-androidvr-msaa
Rename External MSAA to AndroidVR MSAA on Viewport property
2019-11-19 19:38:20 +01:00
Rémi Verschelde 48b8597cee
Merge pull request #33740 from neikeq/issue-33363
Mono/C#: Bundle libmono-btls-shared.dll on Windows if it exists
2019-11-19 19:36:08 +01:00
volzhs cdae65c4a6 Rename External MSAA to AndroidVR MSAA on Viewport property
following up f392c4ea7a
2019-11-20 03:02:11 +09:00
Ignacio Etcheverry 3f247ea507 Mono/C#: Bundle libmono-btls-shared.dll on Windows if it exists 2019-11-19 17:22:06 +01:00
Tomasz Chabora 7e5340261a Cancel drag when selection changes 2019-11-19 16:02:04 +01:00
Rémi Verschelde 95f1f4e82a Travis: Drop support for coverity_scan, we do not use it
The UX is pretty bad, and the fact that all reports are private by
default with no option to make them public makes Coverity Scan hardly
usable in a community-driven project.
2019-11-19 12:14:46 +01:00
Rémi Verschelde 7a0228fbba
Merge pull request #33720 from BastiaanOlij/fix_gles2_rgb8
Need to use GL_RGB8 and GL_RGBA8 as the internal format for GLES2
2019-11-19 11:12:03 +01:00
Bastiaan Olij 15cd81dc69 Need to use GL_RGB8 and GL_RGBA8 as the internal format for GLES2 2019-11-19 20:57:18 +11:00
Rémi Verschelde 8450658fa2
Merge pull request #33673 from YeldhamDev/script_templates_lines_style
Make the script templates' blank lines conform with the official style guide
2019-11-19 10:41:36 +01:00
Rémi Verschelde 511de4ce51
Merge pull request #33728 from akien-mga/emscripten-1.39.1-link-idbfs.js
HTML5: Explicitly link idbfs.js for IDBFS support
2019-11-19 10:40:37 +01:00
Rémi Verschelde d8cf3aa5ab
Merge pull request #33700 from nekomatata/sprite-add-label-overlap
Fixed "Add Sprite..." label overlapping with zoom controls
2019-11-19 09:49:52 +01:00
Rémi Verschelde e5dfcb5edd HTML5: Explicitly link idbfs.js for IDBFS support
Upstream Emscripten changed this in 1.39.1+, so IDBFS is no longer
included by default and has to be linked manually.

The explicit linking doesn't seem to be problematic on earlier
versions (tested `1.38.47-upstream`).

Fixes #33724.
2019-11-19 09:45:43 +01:00
Rémi Verschelde 6536105af2
Merge pull request #33527 from clayjohn/GLES2-bufferdata_optimization
Improve glBufferSubData usage where safe
2019-11-19 09:36:30 +01:00
Rémi Verschelde cc3b7d2ee2
Merge pull request #33719 from KoBeWi/the_truth
Consider locked moving objects when updating viewport
2019-11-18 21:40:52 +01:00
Tomasz Chabora 43d762fce3 Consider locked moving objects when updating viewport 2019-11-18 21:08:14 +01:00
Rémi Verschelde 17ee8d0465
Merge pull request #33706 from madmiraal/fix-c4146-warning
Fix Visual Studio throwing C4146 warning.
2019-11-18 17:03:10 +01:00
Rémi Verschelde 4f10d47f19
Merge pull request #33693 from clayjohn/GLES2-fix_negative_lights_popping
Fix negative light flickering
2019-11-18 16:44:36 +01:00
Marcel Admiraal 6c3be2ca74 Fix Visual Studio throwing C4146 warning. 2019-11-18 15:14:04 +00:00
Rémi Verschelde ab81353155
Merge pull request #33703 from neikeq/issue-32899
C#: Throw NullReferenceException for null NodePath/RID params
2019-11-18 12:40:54 +01:00
Ignacio Etcheverry 008769aee9 C#: Throw NullReferenceException for null NodePath/RID params 2019-11-18 12:23:54 +01:00
PouleyKetchoupp 6d14251b0d Fixed "Add Sprite..." label overlapping with zoom controls 2019-11-18 11:52:01 +01:00
Rémi Verschelde 84761ca106
Merge pull request #33698 from akien-mga/revert-opus-1.3.1-pr33311
Revert "Update opus to 1.3.1 and opusfile to 0.11"
2019-11-18 10:11:49 +01:00
Rémi Verschelde 5c13db0150
Merge pull request #33697 from nekomatata/debugger-tabs-min-size
Fixed ScriptEditorDebugger minimum size
2019-11-18 10:06:14 +01:00
Rémi Verschelde 46ae64cd60 Revert "Update opus to 1.3.1 and opusfile to 0.11"
This reverts commit e00426c512.

The way we handle platform-specific intrinsics is not good, so the
current state will not compile on armv8. This commit also requires
SSE4.1 support, which is likely not a good idea for portable binaries.

We'll have to redo this with more caution after 3.2 is released, or
we might simply drop opus as we're only using it as dependency for
theora right now.

Fixes #33606.
2019-11-18 09:56:48 +01:00
Rémi Verschelde 974646309b Revert "opus: Packaging fixups after #33311"
This reverts commit 0387657fa4.
2019-11-18 09:56:09 +01:00
PouleyKetchoupp 7e9a45842e Fixed ScriptEditorDebugger minimum size
Changed to MarginContainer to enforce debugger tabs minimum size on the parent, avoids overlapping controls with Profiler and Network Profiler tabs.

Fixes #20837
2019-11-18 09:42:28 +01:00
Rémi Verschelde 58ca9f17a2
Merge pull request #33686 from KoBeWi/relan
Fix animation key snapping at high zooms
2019-11-18 07:27:45 +01:00
clayjohn 14b06fc207 Fix negative light flickering 2019-11-17 22:18:54 -08:00
Tomasz Chabora e9802d9b02 Fix animation key snapping at high zooms 2019-11-17 23:34:36 +01:00
Rémi Verschelde 0a96235b44
Merge pull request #33683 from clayjohn/material-texture-bug
Properly update texture when roughness/metallic set
2019-11-17 21:48:00 +01:00
Rémi Verschelde cc025fc8e7
Merge pull request #33663 from Calinou/add-node-get-process-priority
Implement `Node::get_process_priority()` and its associated property
2019-11-17 21:43:28 +01:00
clayjohn 2bc6302607 Properly update texture when roughness/metallic set 2019-11-17 11:11:25 -08:00
Hugo Locurcio ae76c62601
Implement Node::get_process_priority() and its associated property
This closes #33660.
2019-11-17 17:48:50 +01:00
Rémi Verschelde d75b43e961
Merge pull request #33678 from nekomatata/stylebox-flat-width-zero
StyleBoxFlat doesn't draw content when width or height is zero
2019-11-17 16:09:26 +01:00
PouleyKetchoupp 2511f275b9 StyleBoxFlat doesn't draw content when width or height is zero
Causes unnecessary computations and drawing, and a division by zero when calculating uv coordinates.

This case happened with ScriptEditor's member overview (ItemList), initialized with a minimum width of 0.

Fixes #33634
2019-11-17 15:38:05 +01:00
Michael Alexsander 7ecaff578b Make the script templates' blank lines conform with the official style guide 2019-11-17 08:54:43 -03:00
Rémi Verschelde 3c83137771
Merge pull request #33662 from touilleMan/issue-30577
Add singleton_name field to autogenerated json api
2019-11-16 23:00:07 +01:00
Rémi Verschelde e9f905dccc
Merge pull request #33637 from madmiraal/fix-c4334-warning
Fix Visual Studio throwing C4334 warning.
2019-11-16 22:55:09 +01:00
Rémi Verschelde 53bc47a4da
Merge pull request #33643 from Calinou/visual-script-multiply-sign
Use the Unicode "multiply" sign for the "A x B" visual script node
2019-11-16 22:54:41 +01:00