Commit graph

14094 commits

Author SHA1 Message Date
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
Hein-Pieter van Braam
91dfccd1ee
Merge pull request #18425 from RandomShaper/fix-theme-editor-samples
Fix theme editor sample widgets
2018-04-28 22:19:13 +02:00
Hugo Locurcio
0eb2f6c223
Tweak the property hint ranges of caret blink and line length guideline
This allows for more precise adjustments.
2018-04-28 19:13:30 +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
93c77580aa Fix how snapping is applied to 3D polygon editing, make it more friendly. 2018-04-28 11:22:22 -03:00
Juan Linietsky
ec7ed5f360 Avoid CSG freeze condition on degenerates 2018-04-28 09:47:16 -03:00
Robin Hübner
8287441955 GDNative Unix: fix shared lib loading, dlopen expects leading ./ to interpret as relative path. 2018-04-28 14:36:35 +02: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
Michael Alexsander Silva Dias
75897710b3 Made the Pin button disable when no AnimationPlayer is selected. 2018-04-27 16:06:05 -03:00
Michael Alexsander Silva Dias
e93a56ef3e Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name. 2018-04-27 16:06:05 -03:00
Pedro J. Estébanez
a0626d7d9c Fix theme editor sample widgets 2018-04-27 20:42:57 +02:00
Gilles Roudière
b22f048700
Merge pull request #18466 from marcelofg55/use64_fix
Fix use64 used without being initialized
2018-04-27 16:39:48 +02:00
Marcelo Fernandez
9b4d23e898 Fix use64 used without being initialized 2018-04-27 10:43:48 -03:00
Gilles Roudière
deee9f0cb4
Merge pull request #18464 from sersoong/master-fixstylebox
Fix stylebox crash
2018-04-27 15:26:42 +02:00
sersoong
21eac24af1 Fixed stylebox crash 2018-04-27 17:30:28 +08:00
Gilles Roudière
b35f3a569e
Merge pull request #18458 from YeldhamDev/animation_editor_changes
Numerous changes to the Animation Editor
2018-04-27 10:42:13 +02:00
Michael Alexsander Silva Dias
6971604033 Numerous changes to the Animation Editor. 2018-04-26 22:58:30 -03:00
Ignacio Etcheverry
68b35de2b6 Make 'Export PCK/ZIP' work well with EditorExportPlugin
Add debug flag to the 'Export PCK/ZIP' option
Make 'Export PCK/ZIP' notify when the export process begins. This is necessary to receive the 'EditorExportPlugin::_export_begin' callback
2018-04-26 23:21:05 +02:00
Ignacio Etcheverry
c8884ce3bd Fix _export_begin not being called when exporting to android 2018-04-26 23:07:21 +02:00
George Marques
e5a13e2626
Merge pull request #18412 from groud/zoom_shortcuts
Adds shortcuts for zooming in the 2D editor
2018-04-26 11:45:52 -03:00
Gilles Roudiere
8dcd39c3c4 Adds shortcuts for zooming in the 2D editor 2018-04-26 10:28:56 +02:00
Max Hilbrunner
29b8364ef0
Merge pull request #18415 from HoratioZEDU/patch-2
Fixed (minor) typo in CapsuleShape2D doc page
2018-04-26 02:31:48 +02:00
groud
0aa8b35ee6 Fixing input strength and the impossibility to erase action events 2018-04-25 22:32:09 +02:00
Ignacio Etcheverry
e8ff602381
Merge pull request #18427 from neikeq/mono-static-link-win
Add option to link mono statically on Windows
2018-04-25 21:47:15 +02:00
Ignacio Etcheverry
b5e6e142ef Add option to link mono statically on Windows 2018-04-25 21:15:35 +02:00
HoratioZEDU
2dcd499707
Fixed (minor) typo in CapsuleShape2D doc page 2018-04-25 11:57:01 +01: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
Anish
515f2200fb Support of CMD+Backspace and CMD+Delete on MacOS.
Adds support for CMD+Backspace, to delete all text
before the cursor in the line and CMD+Delete to delete
all text after the cursor in line following the typical
MacOS text editing workflow

Fixes: #18059
2018-04-24 18:53:04 +05:30
Gilles Roudière
a096df5e45
Merge pull request #18385 from flashyincceo/animation-save-bug
Fix AnimationPlayer edited scene bug
2018-04-24 11:37:32 +02:00
Gilles Roudière
2e8dda1f3f
Merge pull request #18391 from endragor/fix-global-position-type
Fix Node2D::global_position to have Vector2 type
2018-04-24 11:33:49 +02:00
Ruslan Mustakov
8619b0d280 Fix Node2D::global_position to have Vector2 type 2018-04-24 10:50:05 +07:00
Peter Folkins
223f085857 Fix AnimationPlayer edited scene bug 2018-04-23 14:06:40 -05:00
groud
c3f982156d Fix GridContainer's children visibility breaking the layout 2018-04-23 20:00:06 +02:00
groud
e8a4c4fa4c Fixes hard to select Node2D 2018-04-23 19:48:15 +02:00
groud
9c5a44aeee Fixes 2d editor panning not working 2018-04-23 19:34:03 +02:00
Anish
cca7633739 Replaces CTRL with CMD in TileMapEditor for MacOS.
Replacing CTRL with CMD makes sense dure to consistency
with MacOS and avoiding conflict with the accessibility
hotkey (ctrl+lmb = rmb)

Fixes: #18238
2018-04-23 19:39:01 +05:30
Anish
a126876cc8 Adds support for CMD+Left and CMD+Right on MacOS
CMD+Left and CMD+Right are hotkeys used on MacOS for
moving cursor to start and end of the text, respectively.
They are now supported, alongside ALT+key.

Fixes: #17631
2018-04-23 16:09:20 +05:30
Hugo Locurcio
1c419531a0 Change ".." punctuation for "..." in editor strings (#16507) 2018-04-22 19:36:01 +02:00
George Marques
ca25f1e6ea
Merge pull request #18176 from nikibobi/string-trim
Add string trim_prefix, trim_suffix, lstrip and rstrip methods
2018-04-22 12:29:44 -03:00
ShyRed
100a775260 Keep alpha when changing h, s or v on color
When modifying the h, s or v properties of a color in GDScript the alpha value needs to stay unchanged.
2018-04-22 17:00:45 +02:00
GaryO
06c5a9ed5f Add detail to doc for add_surface_from_arrays (#17911)
Includes review comments from #17911 from @cbscribe and @Noshyaar
2018-04-22 15:23:33 +02:00
Max Hilbrunner
d0699b34d7
Merge pull request #18336 from PJB3005/18-04-21-command's
Fixes a typo in the VisualServer.canvas_item_add_set_transform docs.
2018-04-22 15:06:39 +02:00
thfrwn
f48ff4dc64 fix clang6 assignment error 2018-04-21 22:26:43 -07:00
krogank9
6b797574a2 [DOCS] Add note that Pool*Arrays are passed by value (#18340) 2018-04-22 01:23:50 +02:00