Ignacio Etcheverry
fbc808012f
Mono: BindingsGenerator enum fixes
...
- Make enums have an unique signature name of int. This means that when generating internal methods, there is no difference between different enums types nor between enums and int. This way enums can re-use internal methods.
- Make type resolver fallback to int if a type is not found and it's an enum.
2018-04-28 22:25:25 +02:00
Juan Linietsky
1226720c01
Add poly triangulation order check, ensures faces do not flip on different order
2018-04-28 12:59:45 -03:00
Juan Linietsky
f8520dbba7
-Changed how operators work, any shape can operate on any other
...
-Added some break condition for bad poly data to avoid editor freezes
2018-04-28 12:33:23 -03:00
Juan Linietsky
ec7ed5f360
Avoid CSG freeze condition on degenerates
2018-04-28 09:47:16 -03:00
Juan Linietsky
c4d0f528b1
Do not crash if the polygon is invalid
2018-04-28 08:53:27 -03:00
Juan Linietsky
afb4ce8d2d
Reduce false positives in interior detection by adding a small offset to raycast, fixes #18476
2018-04-28 08:16:26 -03:00
Juan Linietsky
8d199a9b2c
CSG Support for Godot!
...
-Missing Icons
-Missing freezing option (for baking light and faster load)
-Missing a way to export from Godot (GLTF2?)
-Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs)
Happy testing!
2018-04-27 21:55:10 -03:00
Ignacio Etcheverry
b5e6e142ef
Add option to link mono statically on Windows
2018-04-25 21:15:35 +02:00
Ignacio Etcheverry
6faa96fb89
Merge pull request #18399 from neikeq/u
...
Mono fixes
2018-04-24 20:58:25 +02:00
Ignacio Etcheverry
ff7fe9e771
Mono: Fix '!t' error messages when generating bindings
...
This error wasn't affecting the bindings generation process.
2018-04-24 20:47:06 +02:00
Ignacio Etcheverry
f8ce412560
Mono: Do not spam script class not found error
...
Print this error only when trying to instantiate the script. This way we prevent errors being printed for source files which are not meant to be used as scripts.
2018-04-24 20:46:57 +02:00
Ignacio Etcheverry
89e84185e8
Mono: Fix crash on script load if the scripts domain isn't loaded
2018-04-24 20:46:53 +02:00
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
Rémi Verschelde
df79cc86a5
Merge pull request #18119 from sheepandshepherd/nativescript_property_list
...
Fix NativeScript property list order
2018-04-19 21:37:46 +02:00
Rémi Verschelde
3018132244
Merge pull request #18204 from tagcup/quat_scale
...
Avoid converting Quat to Euler angles when not necessary.
2018-04-18 13:55:35 +02:00
Rémi Verschelde
952f7d71aa
Merge pull request #18142 from AndreaCatania/coverity1
...
Removed useless check
2018-04-18 12:49:47 +02:00
Xavier Cho
6b611e6431
#18051 : Fix indentation issues introduced during clean up
2018-04-17 07:53:27 +09:00
Xavier Cho
e59fad3924
#18051 : Do not use var
in a for-loop, or where type is not obvious
2018-04-17 07:39:37 +09:00
Xavier Cho
94edd92248
#18051 : Use common name for Color type argument
2018-04-17 07:39:37 +09:00
Xavier Cho
f0bf5532fa
#18051 : Remove redundant verbatim prefixes
2018-04-17 07:39:37 +09:00
Xavier Cho
85787776a5
#18051 : Use default parameter value
2018-04-17 07:39:37 +09:00
Xavier Cho
b765c051cb
#18051 : Use array initializer when applicable
2018-04-17 07:39:37 +09:00
Xavier Cho
9097c71255
#18051 : Remove redundant parenthesis
2018-04-17 07:39:37 +09:00
Xavier Cho
93dd59d763
#18051 : Remove unnecessary variable assignments
2018-04-17 07:39:37 +09:00
Xavier Cho
fdfc478c88
#18051 : Use 'var' when applicable
2018-04-17 07:39:37 +09:00
Xavier Cho
0ef3e0577b
#18051 : Remove redundant casts and 'using', 'else', 'this' statements
2018-04-17 07:39:37 +09:00
Xavier Cho
9e2e6bb1e2
Remove duplicated declaration of RoundToInt() from Mathf
2018-04-17 07:39:37 +09:00
Will Vincent
b6b8c7b215
Remove incorrect & potentially confusing references to Euler
...
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.
e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
2018-04-15 11:40:31 -05:00
tagcup
a5e0bb447c
Avoid converting Quat to Euler angles when not necessary.
...
Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis.
Added various missing functions and constructors.
Should close #17968 .
2018-04-14 15:53:25 -04:00
Fabio Alessandrelli
eac2863c25
Merge pull request #18154 from mhilbrunner/issue-12512
...
Add DNS resolution in NetworkedMultiplayerEnet::create_client()
2018-04-13 23:09:17 +02:00
mhilbrunner
b0826dec05
Add DNS resolution in NetworkedMultiplayerEnet::create_client()
2018-04-13 22:31:01 +02:00
Ignacio Etcheverry
e3590a2522
Merge pull request #18038 from Chaosus/mathf
...
[Mono] Improvements for Mathf
2018-04-13 22:22:28 +02:00
Chaosus
655a4e6540
[Mono] Improve Mathf
2018-04-13 20:15:49 +03:00
Pedro J. Estébanez
00e98458ba
Revert "Unify http- and percent- encode/decode"
...
This reverts commit b76ee30917
.
2018-04-12 21:12:34 +02:00
Fabio Alessandrelli
6b9ec810c6
Implement get_peer_[address|port] in ENet/WSServer
...
Also implement get_connected_host and get_connected_port in WebSocketPeer
(not supported in HTML5 due to browser limitation).
Add shorthand disconnect_peer(id) for get_peer(id)->close() like in ENet to
WebSocketServer.
2018-04-12 12:30:51 +02:00
Andrea Catania
2cfa861222
Removed useless check
2018-04-12 11:37:36 +02:00
Andrea Catania
df2a626b49
Fixed wrong function call
2018-04-12 11:02:43 +02:00
Andrea Catania
f0abdf06ad
Rigidbody wake up when hitten by a kinematic body
2018-04-12 07:59:12 +02:00
sheepandshepherd
bc110b3771
Fix NativeScript property list
2018-04-11 09:43:07 +02:00
Fabio Alessandrelli
a522bb1106
Merge pull request #18070 from mhilbrunner/godot-net-kick
...
NetworkedMultiplayerEnet: Add disconnecting/kicking peers
2018-04-10 21:06:21 +02:00
mhilbrunner
c531287328
NetworkedMultiplayerEnet: Add disconnecting/kicking peers
2018-04-10 19:00:05 +02:00
Rémi Verschelde
cb7fe2c793
doc: Sync classref with current source
2018-04-10 10:12:42 +02:00
Rémi Verschelde
e15f2636ea
Merge pull request #18081 from AndreaCatania/arcle
...
Corrected area overlap cleaning
2018-04-09 22:04:25 +02:00
Rémi Verschelde
36552c2c90
Merge pull request #18040 from Paulb23/color_region_cache
...
Fixed colour regions and added local colour region cache
2018-04-09 16:05:26 +02:00
Andrea Catania
45b778c7f8
Fixed area overlap cleaning
2018-04-09 09:33:29 +02:00
Ignacio Etcheverry
ea0e73f3c8
Merge pull request #17864 from NikodemL/fix_mono_bottom_panel_issue_activated
...
Fixed mono bottom panel to select the correct file when messages are filtered
2018-04-09 09:15:43 +02:00
Juan Linietsky
34e367597d
Merge pull request #16556 from aragar/master
...
For-in loop variable added to autocompletion
2018-04-08 17:25:01 -03:00
Juan Linietsky
cd7e9d9642
Merge pull request #17583 from RandomShaper/enhance-uri-utils
...
Enhance uri utils
2018-04-07 17:07:29 -03:00
Juan Linietsky
187b14ae24
Merge pull request #17730 from RandomShaper/radio-buttons-in-menus
...
Radio buttons in menus
2018-04-07 16:41:39 -03:00
Paulb23
b571a29df5
Fixed color regions and added local color region cache
2018-04-07 14:14:19 +01:00