Commit Graph

21717 Commits

Author SHA1 Message Date
679bb882fc Fix PoolVector resize and subarray.
The first used to accept negative values, the second would crash if out
of bound.
2019-06-24 09:24:09 +02:00
05a0a68c72 Merge pull request #24448 from lukad/toggle-system-console
Add option to toggle console window
2019-06-21 23:43:16 +02:00
10cf5ac0ff Merge pull request #29959 from akien-mga/dont-reset-my-curves
Curve: Prevent forcing 1.0 min value to 0.99
2019-06-21 21:17:25 +02:00
ee07560abf Curve: Prevent forcing 1.0 min value to 0.99
The setters are called when the property is first initialized, and before
that its default min and max are 0.0 and 1.0 respectively.

If you configured min_value to 1.0 and max_value to e.g. 3.0, since the
min_value setter can be called before that of max_value (which thus still
defaults to 1.0), the min will be set to 0.99.
Same conflict could happen with a configured max_value of 0 if its setter
is called before that of a valid, negative min value.
2019-06-21 16:08:45 +02:00
34224d5ce5 Merge pull request #29958 from akien-mga/keep-calm-and-do-particles
Particles: Fix uninitialized angular velocity, fix inconsistency in linear velocity between CPU and GPU Particles
2019-06-21 16:03:19 +02:00
f854088292 Merge pull request #29957 from Calinou/doc-improve-engine-version-info
Improve the `Engine.get_version_info()` documentation
2019-06-21 15:51:11 +02:00
b3fe249e94 CPUParticles: Set linear velocity to 0, like GPU Particles 2019-06-21 15:23:48 +02:00
fae3df1204 Particles: Properly initialize angular velocity parameter
Right now it would take garbage values when loading scenes,
which could end up written to the scene file.
2019-06-21 15:23:10 +02:00
03335e5250 Improve the Engine.get_version_info() documentation
This documents some keys that were missing and improves formatting.
2019-06-21 15:15:55 +02:00
02319dceb2 Merge pull request #29947 from qarmin/fix_some_editor_crashes
Fix some editor crashes
2019-06-21 12:25:18 +02:00
c77ff48a85 Fix some editor crashes 2019-06-21 11:34:32 +02:00
1e833cadbc Merge pull request #29935 from Faless/net/get_if_multicast_pr
Multicast, more network interfaces info
2019-06-21 10:21:01 +02:00
e5e3f86648 Multicast support in NetSocket/PacketPeerUDP 2019-06-21 00:14:42 +02:00
b574e476ec Implement IP.get_local_interfaces.
Allow getting interfaces names and assigned names.

On UWP this is not supported, and the function will return one interface
for each local address (with interface name the local address itself).
2019-06-21 00:14:42 +02:00
5c66771e3e Merge pull request #29283 from qarmin/fix_some_always_same_values
Remove always true/false values
2019-06-20 21:10:10 +02:00
7b88ac0843 Merge pull request #29930 from zaksnet/document-referencerect
Document ReferenceRect Node
2019-06-20 19:36:27 +02:00
072e40368e Fix always true/false values 2019-06-20 16:59:48 +02:00
ad504b926f Add option to toggle console window on Windows
This is an editor setting and its value can also be toggled
using an entry in the Editor toolbar. The console will still
appear briefly when starting the project manager or editor,
as it's still compiled as console application.

Does not impact exported games, which will still run without
console in release and with console in debug mode.

A project setting or export option could be added to disable
it in debug mode if there's demand for it, but that would
greatly reduce the usefulness of debug builds if Windows users
can no longer report error and crash messages.

Fixes #17889.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-20 16:55:52 +02:00
Zak
5d0040e340 Document ReferenceRect Node
Added missing documentation for ReferenceRect Node
2019-06-20 17:35:08 +03:00
d6f8a43b60 Merge pull request #24116 from Calinou/editor-theme-improved-checkbuttons
Improve CheckButtons in the default editor theme
2019-06-20 13:07:53 +02:00
8591691b9b Merge pull request #24249 from zorbathut/zorbathut/animimmediate
Implement AnimationPlayer call modes as per #23498.
2019-06-20 13:04:34 +02:00
cf76b713cb Merge pull request #24487 from Meirinha/master
Added UV and UV2 to shader function light() built-in, fixes issue #24120
2019-06-20 12:46:54 +02:00
237a0488eb Merge pull request #29918 from akien-mga/scons-gcc-Wclobbered
SCons: Enable -Wclobbered in warnings=extra for GCC
2019-06-20 12:19:57 +02:00
300d4dfd54 Merge pull request #25573 from nekomatata/button-shortcut-fix
Fixed shortcut events in BaseButton (now acts the same as ui_accept action)
2019-06-20 12:06:31 +02:00
b9f8e072ce Merge pull request #26205 from Calinou/spatialmaterial-use-packed-channels
Tweak SpatialMaterial's default metallic and roughness texture channels
2019-06-20 11:46:01 +02:00
974b07fc70 Merge pull request #29914 from YeldhamDev/fix_onion_errors
Fix minor onion layering control errors
2019-06-20 11:23:46 +02:00
4853870a18 SCons: Enable -Wclobbered in warnings=extra for GCC 2019-06-20 11:11:44 +02:00
e09cf96857 Merge pull request #29874 from ibrahn/rework-png-loadsave
PNG driver reworked to use libpng 1.6 simplified API
2019-06-20 11:10:02 +02:00
d61bce1b75 Merge pull request #29910 from m4gr3d/dev_deprecate_armv6
Deprecate support for Android armv6 architecture
2019-06-20 10:22:23 +02:00
1e6fa5d1a5 Fixed shortcut events in BaseButton (now acts the same as ui_accept action) 2019-06-20 09:13:23 +02:00
8a9b3d24f5 Fix minor onion layering control errors 2019-06-19 19:42:26 -03:00
5a29be31b3 Merge pull request #27188 from samH-FIT/MacroUpdate
Made use of semicolons after GDCLASS more consistent, added semicolons where I found them missing.
2019-06-19 22:59:49 +02:00
f7200d6960 Deprecate armv6 support for Android 2019-06-19 12:05:58 -07:00
02ed4b392c Merge pull request #29902 from KoBeWi/dem_setters
Fix set_pick_color error
2019-06-19 20:43:15 +02:00
922a4f5413 Merge pull request #29901 from BastiaanOlij/fix_cameraserver_const
Made constants fully upper case in camera server
2019-06-19 20:20:47 +02:00
bf7a6f9c46 Merge pull request #29899 from Chaosus/select_all_tracks
Added button to select all tracks in track copy dialog
2019-06-19 20:04:54 +02:00
1abfd61f6e Merge pull request #28295 from zqyoung1/fix-gridmap-nav-schemes
Fixed navigation schemes Modo/Maya when used with grid map tile place…
2019-06-19 19:30:57 +02:00
d8477c0596 Merge pull request #28906 from Xrayez/fix-28824
Enforce Unicode encoding in MSVC
2019-06-19 18:18:00 +02:00
4476ea81aa Merge pull request #29897 from Chaosus/fix_animation_track_selection
Fix animation keys selection with SHIFT/CTRL
2019-06-19 16:45:42 +02:00
ddba2e7b47 Merge pull request #26748 from raphael10241024/instance
Fix editor crash when saving a scene containing an inherited scene instance.
2019-06-19 16:28:15 +02:00
38d3bfe971 Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
43a9b8c76c Merge pull request #27237 from Chaosus/astar_2d
Added 2D functions to AStar
2019-06-19 15:07:59 +02:00
30cbe28677 Merge pull request #27310 from KoBeWi/angular_dank
Make angular_damp of new Area nodes match the global default
2019-06-19 15:00:44 +02:00
9bdf110840 Fix set_pick_color error 2019-06-19 14:52:54 +02:00
d7af08aa95 Merge pull request #27389 from YeldhamDev/acceptdiag_label_wrap
Add option to enable autowrapping for label inside 'AcceptDialog'
2019-06-19 14:46:32 +02:00
4ebedb5f11 Made constants fully upper case in camera server 2019-06-19 22:24:54 +10:00
66a854da78 Merge pull request #29878 from Dentrax/fixes
Added ERR_FAIL checks for `Animation::track_set_key_value` and `AnimationNodeStateMachine::remove_node`
2019-06-19 14:18:52 +02:00
be7bd97cb0 Added button to select all tracks in track copy dialog 2019-06-19 15:10:48 +03:00
7b1e112f1d Fixed navigation schemes Modo/Maya when used with grid map tile placement 2019-06-19 14:03:08 +02:00
082a2bcb9f Merge pull request #29893 from capnm/capnm-posix-read-write-return
Linux: Check return values of posix read/write
2019-06-19 13:57:03 +02:00