1f5f2d3ce8
Fix ARVRAnchor and ARVRController error spam
...
(cherry picked from commit 3de3f87657 )
2019-11-12 13:09:35 +01:00
d79be7ec33
Allow or_greater for most properties of NavMesh
...
Closes #28624
(cherry picked from commit 68bee3d9a2 )
2019-11-12 11:23:47 +01:00
49613428f1
Fixes to ClippedCamera
...
This work has been kindly sponsored by IMVU.
(cherry picked from commit 9e97bac0cf )
2019-11-12 11:22:14 +01:00
80752cca50
fix otherwise unitialized variables, found in #31694
...
(cherry picked from commit 4817595c0e )
2019-11-08 15:48:18 +01:00
3689ac6c6b
fix CPU particles bug with local_coords and transform
...
(cherry picked from commit 52696e98b4 )
2019-09-27 12:49:40 +02:00
fc18d637a8
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
(cherry picked from commit fc370b3feb )
2019-09-24 09:00:45 +02:00
3b703d6707
Small fixes, mostly dupicated code
...
(cherry picked from commit 856a8226a5 )
2019-09-24 09:00:45 +02:00
89402e38c7
Revert "Fix AudioStreams::stop possibly causing a small noise"
...
(cherry picked from commit 60eec47077 )
2019-07-03 13:19:40 +02:00
fcbe50befa
Added bindings for methods related to obtaining base an instance from VisualInstance
...
(cherry picked from commit 33a0011ab2 )
2019-04-24 07:01:39 +02:00
4aa7760c74
Revert "Ensure non-emitting particles not processed on entering tree"
...
This reverts commit 24b7f08892 .
This causes a particles regression in tps-demo
2019-04-21 00:59:13 +02:00
c76c33fb50
Added generator audio stream, and spectrum analyzer audio effect
...
Made AudioFrame and Vector2 equivalent for casting.
Added ability to obtain the playback object from stream players.
Added ability to obtain effect instance from audio server.
(cherry picked from commit e33764744c )
2019-04-20 23:50:19 +02:00
c33a924c28
Fix new GCC 9 warnings: -Wdeprecated-copy.
...
(cherry picked from commit 6be77da7eb )
2019-04-20 22:04:25 +02:00
4da40c39f1
Removed unnecessary error from _area_inout
...
The error was previously removed from _body_inout
for the same reason. Fixes #28022 .
(cherry picked from commit 8166f8d3c8 )
2019-04-20 20:25:40 +02:00
364aea1eff
Ensure non-emitting particles not processed on entering tree
...
Also removed non-active CPUParticles(3d) from render list
Fixes #27066
(cherry picked from commit 24b7f08892 )
2019-04-01 11:20:35 +02:00
683c95ebdb
Fixed CollisionObject signals do not trigger on Area
...
(cherry picked from commit d7387e8a68 )
2019-04-01 11:19:13 +02:00
c13ac398f6
Fix resetting of CPUParticles (2D and 3D)
2019-03-10 00:33:08 +01:00
362b42787b
Merge pull request #26784 from humblers/fix-cpuparticles2d
...
Prevent invisible/inactive cpupparticles2d to redraw
2019-03-09 16:28:34 +01:00
1edc2134c9
Prevent invisible/inactive cpuparticles to redraw(3d)
2019-03-09 10:50:44 +09:00
06dbeab5d4
No longer crash due to wrongly requesting a gizmo, fixes #26735
2019-03-07 09:26:49 -03:00
9dd9737cb4
Warn about plane shape usage, closes #26503
2019-03-04 10:12:03 -03:00
4da21d1ce1
Merge pull request #26511 from clayjohn/giprobe_gles2_warning
...
Add warning to GIProbe when using GLES2
2019-03-04 09:40:20 +01:00
d566c5b75e
add warning to GIProbe when using GLES2
2019-03-03 11:26:08 -08:00
0b7f20c7ed
Fixed missing exclude raycast shapes arguments in snap, closes #25230
2019-03-03 16:10:10 -03:00
2f32a75d2e
Skeletons can now choose between using local or world coords for processing, fixes #26468
2019-03-03 12:24:00 -03:00
88e0bed081
Merge pull request #26514 from clayjohn/hide_properties_gles2
...
Hide hdr and shadow_contact in gles2
2019-03-03 13:43:43 +01:00
95837049e8
hide hdr and shadow_contact in gles2
2019-03-02 19:01:26 -08:00
b84b015225
Make query checks less agressive, fixes #24694
2019-03-02 08:48:47 -03:00
e5f665c718
Fix -Wsign-compare warnings.
...
I decided to modify code in a defensive way. Ideally functions
like size() or length() should return an unsigned type.
2019-02-27 07:45:57 +01:00
3299045988
Remove setting that caused is_inside_tree() errors on doppler tracking enabled.
2019-02-26 09:16:23 -03:00
bfa9be85d3
Remove copy and use instance material override in gizmos, fixes #23783
2019-02-23 20:20:54 -03:00
9dfe3b6d9e
Ensure move and slide snap respects stop on slope, fixes #26180
2019-02-23 10:24:21 -03:00
4f697f73a5
Change MAX for MIN, fixes #26170
2019-02-22 21:19:31 -03:00
edbf1d0ea4
Check that area is inside tree besides checking that queries are flushed, fixes #26148
2019-02-22 09:05:34 -03:00
7de7f0ef17
Fix all -Wtype-limits warnings.
2019-02-21 19:34:35 +01:00
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
0fa3b80850
Merge pull request #26025 from clayjohn/particles_lifetime
...
Allowing setting particles lifetime greater than 600
2019-02-18 21:20:24 +01:00
0fec83bc92
allowing setting particles lifetime greater than 600
2019-02-18 10:46:41 -08:00
b31e1b84fc
Fix AudioStreams::stop possibly causing a small noise
2019-02-17 11:20:10 -03:00
0cee7ab4c9
Change snapping to only happen when the floor normal remains as floor, fixes #22312
2019-02-16 15:50:31 -03:00
ee464f56c4
Add a minimum treshold for acquiring rest contacts to avoid numerical precision issues. Fixes #25074
2019-02-16 13:45:01 -03:00
c54330c6b0
Make sure stop on slope can have a tiny bit of precision edge.
2019-02-16 11:19:47 -03:00
5fc86026ca
Fix typos with codespell
...
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
c5dcbeb160
Scene: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
fb8dce3e2e
Merge pull request #25602 from mcccclean/dont-ignore-listener-nodes
...
Fix 3D Listener nodes not being used
2019-02-12 12:30:50 +01:00
034cd62a77
Warn when using GPU particles with GLES2
...
Closes #25733 .
2019-02-09 20:49:58 +01:00
8159ee93a7
Prefer a viewport's listener over a camera where available
...
Fix clang formatting issue
2019-02-06 21:43:57 +11:00
1e3e770073
Add frame support for Sprite3D with region enabled
2019-02-04 20:31:45 -02:00
a7e6a31d7f
binding for get_frustum() of camera class
2019-01-28 21:43:59 +03:00
63b487e49c
Fix PhysicsBody ignoring set_friction/bounce with default value
...
The intent was to avoid creating a physics override to set a default value
that doesn't make a difference, but as #22406 shows it can be necessary to
set the default value *back* after an override was created to set a non-default
value.
Fixes #22406 .
2019-01-24 12:15:54 +01:00
d27ca7eb73
Fixed Bone Transform Order
...
The bone index being passed to the visual server is not using the process order and results in incorrect skin deformation if the calculated process order is different from the unordered bones Vector.
Incidentally, this never showed when I exported rigged characters from blender using the Better Collada exporter. This bug only materialised when experimenting with the glTF pipeline from Maya.
2019-01-18 22:26:13 +00:00