lawnjelly
b954a8c099
Fix batching z_indices with z ranged lights
...
Joining items across z_indices can interfere with light culling for lights which only affect certain z ranges. This PR disables joining across z_indices when lights are present, except specifically for lights with both z_min set to the global minimum (-4096) and z_max set to the global maximum (4096).
In addition, the z_index is now stored on the joined_item for accurate light culling. The z_index is also displayed in frame diagnostics.
2020-04-23 11:58:06 +01:00
Rémi Verschelde
3b44f34166
Merge pull request #38114 from lawnjelly/kessel_rulerfix
...
Fix batch translate to colored synchronization error
2020-04-22 21:42:00 +02:00
lawnjelly
54cd6d3077
Fix batch translate to colored synchronization error
...
In rare circumstances default batches were being joined incorrectly, causing visual regressions. This logic has been fixed.
In addition slightly more output information has been added to frame diagnosis mode.
2020-04-22 18:52:42 +01:00
Rémi Verschelde
ade57c4bf0
Merge pull request #38099 from clayjohn/GLES2-skeleton-rebind
...
Rebind material when skeleton changes in GLES2
2020-04-22 08:23:43 +02:00
clayjohn
6f322af3fb
Rebind material when skeleton changes in GLES2
2020-04-21 17:46:40 -07:00
Rémi Verschelde
c7ad8f539b
jpgd: Upgrade to upstream 2.00, fuzzed with zzuf and afl
...
(cherry picked from commit c842ddcf76
)
2020-04-21 14:16:28 +02:00
Rémi Verschelde
4b33388e5c
mbedtls: Update to upstream version 2.16.6
...
Fixes https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-04
(cherry picked from commit 6b00357d53
)
2020-04-21 14:16:03 +02:00
clayjohn
7fc2cba47d
Use proper depth buffer format for rgba shadows
...
(cherry picked from commit 123dd390e4
)
2020-04-21 14:15:49 +02:00
Rémi Verschelde
253fc093b8
DocData: Skip unexposed classes
...
Properly expose classes that we actually want accessible.
(cherry picked from commit 0ef8bcac4d
)
2020-04-21 14:15:34 +02:00
Vasiliy Makarov
982dee67f0
Fix square image resize
...
Fixes #37980
(cherry picked from commit d45e8734d1
)
2020-04-21 14:11:43 +02:00
Hugo Locurcio
469f398e70
Document how to workaround UI anchor issues when using BackBufferCopy
...
This closes #6880 .
(cherry picked from commit f8a413bb1f
)
2020-04-21 14:11:29 +02:00
Hugo Locurcio
e8ead37725
Check for errors when saving in the ResourceSaver example documentation
...
This also replaces a non-breaking space that was accidentally added in
the EditorFeatureProfile documentation.
This closes #31393 .
(cherry picked from commit 2f46f1e7b1
)
2020-04-21 14:11:15 +02:00
Hugo Locurcio
3a2cdf7d5b
Improve the VisibilityEnabler and VisibilityNotifier documentations
...
This closes #4803 .
(cherry picked from commit 7f2d602106
)
2020-04-21 14:10:50 +02:00
Rémi Verschelde
faf858fe41
Revert "Made possible to specify where to dump the contents when loading a ".pck" file"
...
This reverts commit ffcfd9c8ea
.
This was not so useful as is due to the way dependency paths are stored
in scenes and resources.
2020-04-20 13:48:02 +02:00
Dominik 'dreamsComeTrue' Jasiński
ac0a55ce75
Update TextEdit docs - explaining 'override_selected_font_color' role
...
(cherry picked from commit 6a0e6c2852
)
2020-04-20 11:55:47 +02:00
Marcel Admiraal
339c10889d
Correct the addition of a key and the duplication of a variable name
...
in Dictionary class documentation.
(cherry picked from commit 4d41535fa3
)
2020-04-20 11:55:31 +02:00
Hugo Locurcio
4e73fcc959
Document DynamicFont limitations and a possible workaround
...
This closes #30014 .
(cherry picked from commit 46b8e108e2
)
2020-04-20 11:55:04 +02:00
Hugo Locurcio
4f7296a869
Document image size limits
...
This closes #30238 .
(cherry picked from commit 5497cec7a1
)
2020-04-20 11:54:47 +02:00
Hugo Locurcio
bb753aaf17
Clarify that angles must be specified as radians in the documentation
...
This closes #36356 .
(cherry picked from commit cae5260dab
)
2020-04-20 11:53:40 +02:00
Andrea Catania
4a6f2b8af6
Activate Physics Process in SpringArm3D.
...
(cherry picked from commit 152303bf51
)
2020-04-20 11:51:30 +02:00
Rémi Verschelde
2a10e30119
Merge pull request #38019 from lawnjelly/kessel_zindex_batchbreak
...
Fixes incorrectly joining batch items from earlier z_index layers
2020-04-19 21:38:33 +02:00
lawnjelly
a9ae0fac86
Fixes incorrectly joining batch items from earlier z_index layers
...
Batching across z_index layers was not preserving the batch_break flag, which determines whether to not join the previous item. This is fixed by storing the flag in RenderItemState and preserving it across canvas_render_items calls.
2020-04-19 19:32:14 +01:00
Rémi Verschelde
cb1366f006
Mono: Fix include for Android support
...
This was a typo in #37153 .
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
(cherry picked from commit 408fab8442
)
2020-04-18 22:02:07 +02:00
Rémi Verschelde
50582446ad
Sync classref with current source
2020-04-17 13:43:43 +02:00
Rémi Verschelde
a54a7542c9
Update AUTHORS and DONORS list
...
New contributors added to AUTHORS:
@dreamsComeTrue, @kuruk-mm, @lawnjelly, @ThakeeNathees
Thanks to all contributors and donors for making Godot possible!
(cherry picked from commit 74d60328f8
)
2020-04-17 13:41:43 +02:00
Michael Alexsander
ffcfd9c8ea
Made possible to specify where to dump the contents when loading a ".pck" file
...
(cherry picked from commit 3c261e0dfa
)
2020-04-17 13:00:52 +02:00
Rémi Verschelde
008e0748c1
Merge pull request #37349 from lawnjelly/kessel32_1
...
GLES2 2d Batch rendering (across items)
2020-04-17 12:55:33 +02:00
Rémi Verschelde
1ef94ad445
Merge pull request #37948 from m4gr3d/fix_compilation_issue
...
Fix 3.2 compilation issue
2020-04-17 12:51:21 +02:00
lawnjelly
72adefa5cf
Add frame diagnostics for GLES2 Batch renderer
...
Added project setting to enable / disable print frame diagnostics every 10 seconds. This prints out a list of batches and info, which is useful to optimize games and identify performance problems.
2020-04-17 08:54:33 +01:00
Fredia Huya-Kouadio
b7fa9cf8ff
Fix compilation issue by updating a call to runOnGLThread
that was missed by PR #37175
2020-04-16 16:16:24 -07:00
Rémi Verschelde
529daebe07
Merge pull request #37775 from asheraryam/node-unselected-3.2
...
Add "node_unselected" signal for GraphEdit **[3.2]**
2020-04-17 00:10:21 +02:00
Rémi Verschelde
c4a849588b
Merge pull request #37175 from m4gr3d/make_godot_plugin_callbacks_generic_3.2
...
[3.2] Update the naming scheme for the GodotPlugin's methods
2020-04-17 00:08:27 +02:00
asheraryam
93f7e8d8fc
Add "node_unselected" signal for GraphEdit
2020-04-16 16:56:58 +03:00
Rémi Verschelde
3060a848ba
Merge pull request #37933 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.2) - 2nd batch
2020-04-16 15:14:39 +02:00
Rémi Verschelde
471a5abbf3
i18n: Sync translations with Weblate
2020-04-16 13:05:22 +02:00
Rémi Verschelde
07aa524a42
doc: Sync classref with current source
2020-04-16 13:02:36 +02:00
Hugo Locurcio
25b353fd32
Tweak the error message when trying to run an invalid script from CLI
...
(cherry picked from commit 2ab9515b07
)
2020-04-16 12:57:22 +02:00
Hugo Locurcio
679474c576
Tweak the built-in script naming for resources with custom names
...
This makes the script name appear before the scene file name,
which ensures it's always visible even if the list of scripts is too
narrow to display the full name.
This only impacts built-in scripts with custom resource names.
Unnamed resources will still use `<scene_file>::<id>` naming
in the list of scripts.
(cherry picked from commit e90beade15
)
2020-04-16 12:57:22 +02:00
Michael Alexsander
b4429c325a
Fix incorrect TabContainer documentation for 'get_tab_control()'
...
(cherry picked from commit 8f925b1970
)
2020-04-16 12:57:22 +02:00
Hugo Locurcio
26614a37b8
Mention keep_pressed_outside
caveat in the BaseButton documentation
...
This closes #37790 .
(cherry picked from commit e799dc954e
)
2020-04-16 12:57:22 +02:00
Hugo Locurcio
6c4a0ec75a
Improve the Dictionary class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/3376 .
(cherry picked from commit 88da90f2bf
)
2020-04-16 12:57:22 +02:00
PouleyKetchoupp
eab7342321
More details in Rigid Body add_force documentation
...
(cherry picked from commit 219c5712f0
)
2020-04-16 12:57:22 +02:00
Tomasz Chabora
edd5d9c78e
Improve Camera2D documentation
...
(cherry picked from commit 630096fa74
)
2020-04-16 12:57:22 +02:00
Dominik 'dreamsComeTrue' Jasiński
5fdecebee1
Calculate strike-through position correctly
...
Fixes : #37637
(cherry picked from commit 06a79f260c
)
2020-04-16 12:57:22 +02:00
Hugo Locurcio
ab4ea9379c
Improve the AudioStreamSample class documentation
...
This closes #37915 .
(cherry picked from commit 52786b54ef
)
2020-04-16 12:57:22 +02:00
Marcel Admiraal
103278d84b
Run SpringArm3D's process within physics.
...
(cherry picked from commit 188bb6f867
)
2020-04-16 12:57:22 +02:00
Eric M
e2c9cbb79f
Added selection outline to locked nodes.
...
(cherry picked from commit 7f5fb73146
)
2020-04-16 12:57:22 +02:00
Marcel Admiraal
e869da9665
Remove unnecessary check for zero determinant in Basis::orthonormalize().
...
(cherry picked from commit 8e6e91f2cd
)
2020-04-16 12:57:22 +02:00
Marcel Admiraal
3e71992eda
Assign zero to range when ConvexPolygonShape2D is empty.
...
(cherry picked from commit 88d307df14
)
2020-04-16 12:57:22 +02:00
Nico Mitchell
616d106247
Change round return type to float
...
(cherry picked from commits c2ffaf5b2b
and f7cc2b090c
)
2020-04-16 12:57:21 +02:00