Commit graph

25092 commits

Author SHA1 Message Date
volzhs
d1270f3d4c Fix compile error for Windows on Linux 2019-12-04 08:06:07 +09:00
Rémi Verschelde
40d1486cb3
Merge pull request #34088 from clayjohn/GLES3-polygon-buffer-orphaning-fix
Properly orphan polygon index buffer after binding
2019-12-03 18:13:28 +01:00
Rémi Verschelde
65f5ef9a42
Merge pull request #34079 from KoBeWi/rcexport
Don't stop export if rcedit path is invalid
2019-12-03 17:23:25 +01:00
bruvzg
0aebba2388
[ci skip] OS class documentations, adds platform compatibility notes. 2019-12-03 18:14:14 +02:00
clayjohn
b2dfbd77ec properly orphan polygon index buffer after binding 2019-12-03 07:54:25 -08:00
Rémi Verschelde
7255d6c123
Merge pull request #34084 from Xrayez/fix-slow-polyline
Fix severe performance drop while deflating polylines
2019-12-03 15:15:20 +01:00
Rémi Verschelde
52e2105e61
Merge pull request #34082 from akien-mga/emscripten-clamp-fastcomp
Emscripten: Re-add BINARYEN_TRAP_MODE='clamp' for fastcomp
2019-12-03 15:00:58 +01:00
Andrii Doroshenko (Xrayez)
749d917424 Fix severe performance drop while deflating polylines
Underscaled arc tolerance produced very small values so that changes
to this parameter were negligible when scaled internally, hence significant
performance drop (lots of intermediate points inserted in an arc). Now the
performance is mostly the same compared to other types of offsetting
(SQUARE, MITER).
2019-12-03 15:43:59 +02:00
Tomasz Chabora
ef21d378f3 Don't stop export if rcedit path is invalid 2019-12-03 13:42:24 +01:00
Rémi Verschelde
6d6280dfa3 Emscripten: Re-add BINARYEN_TRAP_MODE='clamp' for fastcomp
The option is needed when using the 'fastcomp' backend (default before
1.39.0), and must not be defined when using 'upstream' (new default).
So we define it conditionally to support both backends.

Follow-up to #30751.
2019-12-03 13:33:35 +01:00
Rémi Verschelde
2b824b4e45
Merge pull request #34078 from bruvzg/ios_used_data_access
[iOS] Add export options to control external access to user data.
2019-12-03 11:35:36 +01:00
bruvzg
ccf8778e86
[iOS] Add export options to control external access to user data. 2019-12-03 12:06:54 +02:00
Rémi Verschelde
a74f0fd4cf doc: Fix markup errors 2019-12-03 10:26:20 +01:00
Rémi Verschelde
d0243e9e0f
Merge pull request #34077 from Calinou/doc-improve-dynamicfont
Improve the DynamicFont class documentation
2019-12-03 10:18:15 +01:00
Rémi Verschelde
dc3d8f0e45
Merge pull request #34076 from Calinou/doc-listener
Add documentation for the Listener class
2019-12-03 10:14:11 +01:00
Rémi Verschelde
20d1486a54
Merge pull request #34075 from Calinou/doc-improve-camera
Improve the Camera class documentation
2019-12-03 10:13:09 +01:00
Hugo Locurcio
673bd79a9e
Improve the DynamicFont class documentation 2019-12-03 09:56:11 +01:00
Rémi Verschelde
54af9cd470
Merge pull request #34074 from Calinou/doc-floor-int
Mention that `int()` can be used as an alternative to `floor()`
2019-12-03 09:45:28 +01:00
Rémi Verschelde
c3609eb211
Merge pull request #34072 from arlez80/master
fixed pitch bend value and MIDI running status on the InputEventMIDI.
2019-12-03 09:45:19 +01:00
Hugo Locurcio
c6c5a213cd
Add documentation for the Listener class 2019-12-03 09:38:26 +01:00
Hugo Locurcio
73149499c0
Improve the Camera class documentation
This makes the Camera class 100% documented.
2019-12-03 09:37:01 +01:00
Rémi Verschelde
e77c34ab4a
Merge pull request #34061 from Chaosus/fix_shader_const
Fix expressions for global constants in shaders
2019-12-03 08:53:55 +01:00
Hugo Locurcio
1fcdeaee39
Mention that int() can be used as an alternative to floor() 2019-12-03 08:43:24 +01:00
あるる / きのもと 結衣
e8410c03f5 fixed set pitch bend value and implemented midi running status 2019-12-03 16:22:02 +09:00
Rémi Verschelde
10bae7c05b
Merge pull request #33857 from nekomatata/polygon-2d-antialiasing
Fixed antialiased option for Polygon2D
2019-12-03 07:51:16 +01:00
Rémi Verschelde
65e6efaa3b
Merge pull request #33836 from clayjohn/blinn-fix
Fix Specular Blinn function
2019-12-03 07:50:37 +01:00
Bojidar Marinov
79c26344e8
Make error when accidentially redeclaring a variable's type clearer
Fixes #32370
2019-12-02 22:26:05 +02:00
Rémi Verschelde
055d7ace54
Merge pull request #34063 from Calinou/tweak-error-timestamp-formatting
Tweak error timestamp formatting to be more readable
2019-12-02 19:37:11 +01:00
Hugo Locurcio
56d884ffde
Tweak error timestamp formatting to be more readable
This uses a `.` instead of `:` as the decimal separator and trims
the decimal part to 3 digits, as millisecond precision is usually
sufficient.
2019-12-02 18:55:46 +01:00
Yuri Roubinsky
8b8faf03d5 Fix expressions for global constants in shaders 2019-12-02 19:00:21 +03:00
Rémi Verschelde
9607fc48a0
Merge pull request #33864 from madmiraal/partial-revert-20908
Ensure move_and_slide() is consistent between the 2D and 3D versions.
2019-12-02 09:50:58 +01:00
Rémi Verschelde
d53e3d3acc
Merge pull request #33985 from nekomatata/shadow_viewport
Disable shadow map sampling when shadows are not used in GLES3
2019-12-02 09:28:42 +01:00
Marcel Admiraal
750f343e4a Ensure move_and_slide() is consistent between the 2D and 3D versions.
In the 3D version:
- Partially revert #20908 that was reverted in the 2D version as part
  of #21653. This ensures that the Vector returned is always perpendicular
  to the surface collided with; and not the floor_normal Vector passed to
  the function when on a floor.
- Include an update of the floor velocity before multiplying by the time
  delta, which was added to the 2D version as part of commit 13a8014.

In the 2D version:
- Use the Vector2.slide() function instead of Vector2.tangent() to adjust
  the amount of motion the stop_on_slope undoes to ensure that it is in the
  right direction. This is a implementation of the 3D approach from #30588.
- Combine the !found_collision and motion == Vector2() checks for break.
- Other minor formating changes to make the functions look identical.

Also renamed some variables to align with their use.
2019-12-02 08:35:50 +01:00
Rémi Verschelde
e64a663c59
Merge pull request #33992 from bruvzg/ios_modular_build
iOS modular build and export implementation.
2019-12-01 22:35:45 +01:00
Rémi Verschelde
d2858e2371
Merge pull request #34048 from KoBeWi/center_of_the_bookmark
Center Script Editor when jumping to bookmarks/breakpoints
2019-12-01 22:20:31 +01:00
Rémi Verschelde
e9b709a5db
Merge pull request #34047 from nekomatata/physical-bone-remove-joint
Properly remove joint when a physical bone is removed from the scene
2019-12-01 22:20:04 +01:00
Norton Corbett
9584ff13b9 Fixed another point grabbing issue at lower zoom levels.
This was caused by the fact that the points were being iterated sequentially and we were breaking out of the loop as soon as we found a point that was "close enough", rather than actually finding the closest point. The previous fix exposed this new issue.
2019-12-01 20:54:13 +00:00
bruvzg
2ef8c5fac5
iOS modular build and export implementation. 2019-12-01 21:57:18 +02:00
Tomasz Chabora
f4d0e598a7 Center Script Editor when jumping to bookmarks/breakpoints 2019-12-01 18:43:52 +01:00
PouleyKetchoupp
fdd99d4a7c Properly remove joint when a physical bone is removed from the scene
It was triggering a warning in bullet followed with a crash in some cases.
WARNING: assert_no_constraints: A body with a joints is destroyed. Please check the implementation in order to destroy the joint before the body.
     At: modules/bullet/rigid_body_bullet.cpp:465
2019-12-01 18:30:59 +01:00
Rémi Verschelde
ad95424dba
Merge pull request #34042 from touilleMan/issue-34041
Add missing on error manifest struct destroy in pluginscript script init
2019-12-01 16:29:23 +01:00
Rémi Verschelde
d42ff4c2ae
Merge pull request #34022 from nekomatata/animation-player-stop-errors
Fixed errors in AnimationPlayerEditor when switching current_animation in the inspector
2019-12-01 16:24:11 +01:00
Rémi Verschelde
d441536379
Merge pull request #34043 from Paulb23/27421_line_edit_remove_text_alignment
Fixed LineEdit text removal and placeholder caret alignment
2019-12-01 16:23:38 +01:00
Emmanuel Leblond
fb9b010384
Add missing on error manifest struct destroy in pluginscript script init 2019-12-01 16:15:31 +01:00
PouleyKetchoupp
d900cfafa3 Fixed errors in AnimationPlayerEditor when switching current_animation in the inspector
Case 1: start and stop an animation in the inspector
Case 2: start an animation in the inspector, then stop and start again in the track editor

Fixes #34021
2019-12-01 15:45:23 +01:00
Paulb23
b68703a35c Fixed caret alignment with placeholder text 2019-12-01 14:27:39 +00:00
Paulb23
3df68b4fa6 Fixed LineEdit alignment when removing text or undo / redo 2019-12-01 13:54:09 +00:00
Norton Corbett
5329ae0030 Take into account the current zoom level when grabbing polygon points in the TileSet editor.
The transform of the TileSet editor workspace is now used to calculate the distance from the mouse click to the nearest polygon point.

Fixes https://github.com/godotengine/godot/issues/34001
2019-12-01 11:33:24 +00:00
Rémi Verschelde
52e3993eb0
Merge pull request #33994 from nekomatata/start-fail-errors
Flush remaining messages before quitting the game when loading fails
2019-12-01 11:53:43 +01:00
Rémi Verschelde
ea7f3037da
Merge pull request #34002 from KoBeWi/crashonat
Don't try to initialize empty NativeLibrary
2019-12-01 11:53:19 +01:00