Rémi Verschelde
c96f08dc86
Merge pull request #35527 from neikeq/issue-35259
...
Mono/C#: Fix _update_exports possible crash with Reference types
2020-01-24 21:51:57 +01:00
Rémi Verschelde
75ab07546b
Merge pull request #35524 from neikeq/issue-35496
...
Fix C# preprocessor infinite loop and incorrect parsing of `#if!`
2020-01-24 21:51:38 +01:00
Ignacio Etcheverry
966a126186
Mono/C#: Fix _update_exports possible crash with Reference types
...
The code was attempting to dynamic cast the native instance to Reference after
the managed instance was disposed. As the managed instance acts as a Ref,
the native instance was freed during that disposal.
This made the dynamic cast fail and we attempted to memdelete a second time.
The fix is to make the dynamic cast before disposal.
2020-01-24 18:28:40 +01:00
PouleyKetchoupp
9c4a6cf745
Fixed Inspector update when a node is renamed
...
Whenever any node is renamed, EditorNode::_edit_current() is called and it resets plugins used for current edited properties. This change forces the inspector to update even though the same object is edited, to make sure all plugins are restored properly from unfolded properties/resources/etc.
Fixes #32832
2020-01-24 18:12:05 +01:00
Rémi Verschelde
4dce3427ef
Merge pull request #35519 from yamgent/wrong-guideline-value
...
Fix wrong guideline values shown during dragging
2020-01-24 18:10:53 +01:00
Ignacio Etcheverry
0604b1839d
Fix C# preprocessor infinite loop and incorrect parsing of #if!
2020-01-24 17:53:17 +01:00
Roi Valcárcel
4f0401d05d
Update ScrollContainer.xml
...
Add missing descriptions to ScrollContainer documentation
2020-01-24 17:21:53 +01:00
Hugo Locurcio
37d55ff153
Improve and document error macros
...
Documentation can be visible in many IDEs by hovering the macro
anywhere it's used.
Error message styling was also tweaked for consistency.
2020-01-24 17:19:57 +01:00
Rémi Verschelde
d410f5fc80
Merge pull request #35515 from KoBeWi/or_greater
...
Allow greater values in unit_offset
2020-01-24 16:56:11 +01:00
Rémi Verschelde
9fa904d407
Merge pull request #35513 from KoBeWi/theme_items_matter
...
Count theme items in doc_status.py
2020-01-24 16:55:49 +01:00
Rémi Verschelde
feb88ebe6f
Merge pull request #35510 from Calinou/add-normalized-error-explanations
...
Add explanations for errors related to Vector/Quat normalization
2020-01-24 16:55:34 +01:00
Tan Wang Leng
ee2f406c73
Fix wrong guideline values shown during dragging
...
Suppose that the user wants to use some guidelines in 2D mode. The
user has enabled "Use Pixel Snap", and configured the "Grid Step" to
1px.
On some zoom levels, when dragging the guidelines step by step, some
offsets shows the wrong value. The offsets that are wrong vary - it is
affected by the zoom level, so some zoom levels do not display this
problem.
For example, a user may see this while dragging the guideline:
0px 1px 1px 3px 4px 5px 5px 7px 8px
whereby 2px and 6px are missing.
This is due to a floating-point error. The values are printed as
(truncated) integers, but they are actually decimals, so they were
actually 1.9999 and 5.9999 for the missing cases.
Let's fix that by rounding up the values before printing them to get rid
of the errors.
This fixes #35010 .
2020-01-24 23:52:43 +08:00
Fabio Alessandrelli
5bd9f14ad9
Lower WebSocket latency, fixes.
...
WSLPeer now tries to flush packet queue after put_packet call.
WSLServer::listen correctly returns TCP_Server::listen return value.
2020-01-24 14:50:53 +01:00
Tomasz Chabora
9ad7fc3405
Allow greater values in unit_offset
2020-01-24 14:40:33 +01:00
Tomasz Chabora
25ea912d96
Count theme items in doc_status.py
2020-01-24 14:23:58 +01:00
Hugo Locurcio
a002b93d86
Add explanations for errors related to Vector/Quat normalization
2020-01-24 14:19:23 +01:00
Rémi Verschelde
97cc2e53f6
makerst: Escape reST markup after enums
...
Fixes #35501 .
2020-01-24 13:08:36 +01:00
Hugo Locurcio
81f33df84b
Allow saving anywhere when exporting CSV measures from the profiler
...
Previously, the CSV file could only be saved in `res://`. Since this is
an editor tool, it makes sense to allow saving anywhere on
the filesystem.
2020-01-24 12:18:26 +01:00
Hugo Locurcio
f1d9dbfb08
Display times as milliseconds in the profiler and performance monitors
...
Small values are easier to read as milliseconds compared to seconds.
2020-01-24 12:07:38 +01:00
Rémi Verschelde
1c6d1fcf95
Merge pull request #35495 from ericrybick/35373-softbodies-love-to-occupy-center-stage
...
Fix Softbody always spawns from world center [gles2]
2020-01-24 09:50:09 +01:00
Eric Rybicki
3d4a2a09f6
Fix Softbody always spawns from world center [gles2]
...
Fixes #35373
2020-01-24 09:25:05 +01:00
Rémi Verschelde
a1ffa3edc2
Merge pull request #35494 from timothyqiu/ani-track-leak
...
Fixes leak in Animation Track editor
2020-01-24 07:50:11 +01:00
Haoyu Qiu
0ca102d568
Fixes leak in Animation Track editor
2020-01-24 11:17:56 +08:00
Rémi Verschelde
8a7a216be5
i18n: Sync translations with Weblate
2020-01-23 23:19:54 +01:00
Rémi Verschelde
55f580b24a
Merge pull request #35491 from neikeq/issue-35450
...
Mono/C#: Lighten up unsafe reference checks
2020-01-23 23:06:58 +01:00
Rémi Verschelde
2e27e74649
Merge pull request #35470 from Chaosus/vs_docs
...
Docs for some nodes in visual shader
2020-01-23 22:58:24 +01:00
Yuri Roubinsky
ce43c92208
Docs for some nodes in visual shader
...
Fix typo in `VisualShaderNodeCompare.ComparisonType` name.
2020-01-23 22:39:00 +01:00
Rémi Verschelde
c66144738b
Merge pull request #35483 from YeldhamDev/doc_comment_spaces_removal
...
Remove unnecessary extra spaces before comments in code examples.
2020-01-23 21:58:12 +01:00
Ignacio Etcheverry
55b2e58a98
Mono/C#: Lighten up unsafe reference checks
...
Because of the weird case with multi-threading and ResourceLoader, it can be the case that a resource is GCed while being referenced again in the main thread. In such cases, a new unsafe reference is created before the finalizer thread removes the previous one.
2020-01-23 21:23:32 +01:00
Michael Alexsander
c4745c96d7
Remove unnecessary extra spaces before comments in code examples.
2020-01-23 14:41:49 -03:00
Rémi Verschelde
93aba68026
Merge pull request #35480 from YeldhamDev/doc_parenthesis_removal
...
Remove unnecessary parenthesis from code examples
2020-01-23 18:33:22 +01:00
Rémi Verschelde
cadf946863
Merge pull request #35478 from neikeq/issue-32260
...
Mono/C#: Add setting to include I18N assemblies in the exported game
2020-01-23 18:24:15 +01:00
Michael Alexsander
e1a9a3328d
Remove unnecessary parenthesis from code examples
2020-01-23 14:15:39 -03:00
Rémi Verschelde
1c0995d450
Merge pull request #35476 from clayjohn/GLES3-scene-crash
...
Fix recently introduced crash in viewport size
2020-01-23 17:52:51 +01:00
Ignacio Etcheverry
59ec19d5a8
Mono/C#: Add setting to include I18N assemblies in the exported game
2020-01-23 17:47:09 +01:00
Rémi Verschelde
b75fff5a56
Merge pull request #35473 from neikeq/default-to-net47
...
Mono/C#: Default to net47 for new projects
2020-01-23 17:23:33 +01:00
clayjohn
3631a3cc9e
Fix recently introduced crash in viewport size
2020-01-23 08:11:01 -08:00
Ignacio Roldán Etcheverry
8dc7f3960c
Merge pull request #35472 from neikeq/issue-35448
...
Mono/C#: Add Basis.Slerp, update Quat.Xform and add some math checks
2020-01-23 16:21:09 +01:00
Rémi Verschelde
0f0fcbd56a
Merge pull request #35471 from YeldhamDev/tileset_shape_update
...
Fix TileSet shape data not updating when being set via code
2020-01-23 16:17:18 +01:00
Ignacio Etcheverry
82b0899e54
Mono/C#: Add Basis.Slerp, update Quat.Xform and add some math checks
2020-01-23 16:13:28 +01:00
Ignacio Etcheverry
d9ff5f7fc2
Mono/C#: Default to net47 for new projects
2020-01-23 15:57:47 +01:00
Michael Alexsander
151f33111b
Fix TileSet shape data not updating when being set via code
2020-01-23 11:48:38 -03:00
Rémi Verschelde
ac4e487237
Merge pull request #35458 from clayjohn/DOCS-misc2
...
Finish documenting CSG* and *probes classes
2020-01-23 14:38:39 +01:00
Rémi Verschelde
efea348fe8
Merge pull request #35460 from ericrybick/35409-skeleton-does-not-return-to-original-pose-when-ik-playback-is-stopped
...
Fix bone pose override not being reset when IK animation is stopped
2020-01-23 14:38:04 +01:00
clayjohn
6b66957b85
Finish documenting CSG* and *probes
2020-01-23 13:54:17 +01:00
Rémi Verschelde
e7e8318546
Merge pull request #35465 from akien-mga/doc-various-fixes
...
doc: Misc updates for AnimationNode* and others
2020-01-23 13:44:43 +01:00
Rémi Verschelde
ba177ccaec
doc: Misc updates for AnimationNode* and others
...
- Add some missing descriptions.
- Add links to tutorials for ARVR and AnimationTree.
- Style fixes.
- Engine changes:
* Make `AnimationNodeTransition.input_<number>` properties internal
so that they don't appear in the docs. They still appear in the
inspector based on the actual number of inputs requested.
* Drop unimplemented `CPUParticles.flatness`. It's only used for 3D
particles in `ParticlesMaterial`, and thus only relevant for
`CPUParticles3D`.
2020-01-23 12:37:33 +01:00
Rémi Verschelde
e7947c81d6
Merge pull request #35463 from Chaosus/shader_gles2_completion
...
Hides high-level functions from GLES2 shader autocompletion
2020-01-23 11:18:46 +01:00
Yuri Roubinsky
3473a195fc
Hides high-level functions from GLES2 shader autocompletion
2020-01-23 12:41:21 +03:00
Rémi Verschelde
46820527de
Merge pull request #35360 from Chaosus/restrict_uint_gles2
...
Disallow uint/uvec usage on GLES2 platform
2020-01-23 10:12:30 +01:00