Commit graph

3275 commits

Author SHA1 Message Date
Gilles Roudiere
c250a9a9f9 Fixes collisions shape selection 2018-02-22 20:48:25 +01:00
Pieter-Jan Briers
b51a86a57a StyleBoxTexture: Texture instead of RES for texture and normal_map. 2018-02-22 19:27:35 +01:00
Rémi Verschelde
e349cedb6e Skeleton2D: Fix missing return value in comparator 2018-02-22 08:18:25 +01:00
Juan Linietsky
7cd867c3fe 2D Skeletons WORK IN PROGRESS 2018-02-21 17:24:00 -03:00
luz.paz
612ab4bbc6 Fix typos with codespell
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Max
6a48f952ca Fixed disappearing text on filedialog buttons 2018-02-21 16:04:51 +02:00
Juan Linietsky
9e3a1e5401 Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion. 2018-02-21 09:39:09 -03:00
Rémi Verschelde
35053e57ab
Merge pull request #16710 from YeldhamDev/filedialog_nothing_disabled
Fixed "Open" button being enabled when nothing is selected in a FileDialog while in "Open folder" mode
2018-02-21 13:25:27 +01:00
Rémi Verschelde
222516a815
Merge pull request #16756 from willnationsdev/shifted-rect-sprite
Simplify detection of Sprite clicks
2018-02-21 10:42:47 +01:00
Rémi Verschelde
c291fc39ad
Merge pull request #16772 from damarindra/tileset_editor_improvement
Tileset Editor Improvement
2018-02-21 10:40:43 +01:00
Andrea Catania
39fb83630d
Added forgotten infinite_inertia to bindings
Related to this comment: https://github.com/godotengine/godot/pull/16757#discussion_r169470394
2018-02-21 08:42:36 +01:00
Damar Indra
e69dd47501 Tileset Editor Improvement 2018-02-20 22:33:59 +07:00
Michael Alexsander Silva Dias
db80d56388 Fixed "Open" button being enabled when nothing is selected in a FileDialog while in "Open folder" mode. 2018-02-20 12:19:06 -03:00
Rémi Verschelde
497a4e9e25
Merge pull request #16757 from AndreaCatania/kinpush
Improved kinematic body, Now can move rigid body
2018-02-20 15:41:10 +01:00
Andrea Catania
6ed392f47a Improved kinematic body 2D and 3D, Now can move rigid body 2018-02-20 12:43:47 +01:00
Rémi Verschelde
2c44b2cee4
Merge pull request #16718 from Chaosus/triplanarfix
Add refraction possibility when triplanar uv mode enabled
2018-02-20 11:14:31 +01:00
Rémi Verschelde
55f00d9655
Merge pull request #16455 from volzhs/close-docs
Keep to show current script when closing all docs
2018-02-20 09:40:29 +01:00
volzhs
df84290a7e Keep to show current script when closing all docs
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.

Fix #16403
2018-02-20 14:39:52 +09:00
Will Nations
b0bdb4456b Expose Sprite._edit_get_rect for click rect access 2018-02-19 16:45:11 -06:00
Rémi Verschelde
b2aeb02e7d
Merge pull request #16530 from AndreaCatania/rays
Improved ray shape (2D and 3D) by addiing the possibility to act as r…
2018-02-19 22:15:49 +01:00
Rémi Verschelde
6ee4298ee3
Merge pull request #16652 from aragar/FixQuotationInString
Fix quotation in string
2018-02-19 22:12:53 +01:00
Rémi Verschelde
d5daaa72fa
Merge pull request #15306 from poke1024/item-list-draw-speed
Boost drawing speed of ItemLists with many items
2018-02-19 21:53:59 +01:00
Rémi Verschelde
5933cf867a
Merge pull request #15780 from volzhs/emoji
Support colored font
2018-02-19 21:51:53 +01:00
Chris Bradfield
a5688ccd90 Improve CollisionObject/CollisionObject2D warning message 2018-02-19 21:48:31 +01:00
Rémi Verschelde
a41c45c335
Merge pull request #16060 from sdfgeoff/apply_torque
Exposed apply_torque_impulse to gdscript
2018-02-19 21:38:33 +01:00
Andrea Catania
ffc3ef8677 Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
Alexander Alekseev
66c39b1426 Fixes OptionButton selection index being reset to zero at instanciation
Bug: engine tries to set selected item before items were added during save scene/run project, because of wrong properties order.
Fixes #10213.
2018-02-19 20:25:34 +01:00
Rémi Verschelde
b93d6a001b
Merge pull request #16566 from groud/gui_input_rework
2D Editor GUI input rework
2018-02-19 20:05:35 +01:00
Rémi Verschelde
52f45122ae
Merge pull request #16822 from Noshyaar/timefmt
Fix timer second not zero padded when < 10
2018-02-19 17:14:12 +01:00
Poommetee Ketson
d2e3607fa0 Fix timer second not zero padded when < 10
Also RTR "Time Left:"
2018-02-19 21:53:39 +07:00
isaacremnant
cc902cf9ab Force controls to save rect_clip_content since they do not all default to false. 2018-02-18 22:24:05 -05:00
Artem Varaksa
d35e486228 Clean up some bad words from code comments 2018-02-17 16:00:39 +03:00
Gilles Roudiere
8dad41e395 2D editor GUI input rework. Changes are:
- The input handling is done into several distinct functions, and the
  code is more consistent.
- The actions' history is more precise ("Edited CanvasItem"
  is now "Rotated CanvasItem","Moved CanvasItem",etc...)
- Fixed a little bug about input key events not forwarded correctly to plugins
- IK is followed by default when you move a bone node, the alt-key allow
  you to move it normally
2018-02-16 10:14:52 +01:00
sdfgeoff
cdd8334585 Exposed apply_torque_impulse to gdscript and added documentation for added apply_torque_impulse method 2018-02-15 16:42:24 +01:00
Chaosus
b5e4f637fc Added refraction possibility for triplanar uv mode 2018-02-15 17:21:09 +03:00
Rémi Verschelde
5a83705b19
Merge pull request #15523 from Nutriz/change_primmesh_accuracy_value
Change primitive meshes acccuracy value
2018-02-14 17:05:19 +01:00
JFonS
f68594a525 Fix weird editor crash when switching from editing one gradient to another keeps 'grabbing' variable to true 2018-02-14 16:48:13 +01:00
Rémi Verschelde
309303d92c
Merge pull request #15592 from paulloz/textedit-initial-size
set a better initial size to TextEdit nodes
2018-02-14 16:38:27 +01:00
Rémi Verschelde
2551db44e1
Merge pull request #15618 from ianb96/fold_comment
TextEdit folding over unindented comments
2018-02-14 16:36:42 +01:00
Rémi Verschelde
f1ee573ebe
Merge pull request #15711 from poke1024/fix-rtl-descent
Fixes wrong vertical font layout in RichTextLabel
2018-02-14 16:28:16 +01:00
Rémi Verschelde
c5a5b10342
Merge pull request #15799 from SaracenOne/lightmap_unwrap_script_expose
Expose 'lightmap_unwrap' method to the scripting engine.
2018-02-14 16:17:35 +01:00
Rémi Verschelde
e777751958
Merge pull request #15855 from mrcdk/texture_button_mask_fixes
The TextureButton's bitmask takes into account the stretch mode selected
2018-02-14 16:16:10 +01:00
Rémi Verschelde
1f17881d5d
Merge pull request #15903 from groud/fix_minsize
Fixes GridContainer and SplitContainer wrong layouting
2018-02-14 16:04:06 +01:00
Michael Alexsander Silva Dias
4dbf6ac1b8 Added "allow_reselect" property to ItemList and enabled it for the method/help lists. 2018-02-14 03:38:07 -02:00
Rémi Verschelde
8944773934
Merge pull request #16422 from synasius/fixed-line-edit-text-changed-signal
Fixed #15082: line edit emits two "text_changed" signals when pasting while text is selected
2018-02-13 22:14:25 +01:00
Rémi Verschelde
8d75b27405
Merge pull request #16432 from Ovnuniarchos/master
SpinBoxes calculate correctly their width before first redraw.
2018-02-13 15:46:39 +01:00
Rémi Verschelde
eefb58a892
Merge pull request #16424 from AndreaCatania/phyj
Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
2018-02-13 15:26:04 +01:00
Rado'sPC\aRaGaR
f38e819fc1 Fix quotation in string
fix for #16404
2018-02-12 23:01:36 +02:00
ronroniv
5e8f7c9782
Update an outdated method name in error message
set_enable_monitoring -> set_monitoring
2018-02-07 12:32:05 +09:00
Ovnuniarchos
fe1ca3c6e6 SpinBoxes calculate correctly their width before first redraw. 2018-02-05 22:42:30 +01:00
Andrea Catania
a42765dada Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
Fixes #16424
2018-02-05 18:54:07 +01:00
Federico Frenguelli
9cd3ed4ace Fixed #15082: line edit emits two "text_changed" signals when pasting while text is selected 2018-02-05 16:22:34 +01:00
Phil Jones
d1a471f909 Fix texture import spelling 2018-02-03 18:38:39 +00:00
Poommetee Ketson
4f9ef96b54 Gradient: fix wrong property type 2018-02-03 22:38:54 +07:00
binbitten
331cfc1d18 Fix wrong property type for fixed icon size in ItemList 2018-02-03 10:02:27 +01:00
Rémi Verschelde
0033e72a0f
Merge pull request #16276 from bcr3ative/issue_15668
Fix inconsistencies and typos in argument names
2018-02-01 17:26:13 +01:00
Rémi Verschelde
4cb64feae8
Merge pull request #15910 from robfram/fix-audio-signal-issue-15895
Fix issue #15895, audio streams don't signalling finished after the first one
2018-02-01 16:54:31 +01:00
Rémi Verschelde
51d3dee9c2
Merge pull request #15946 from MarianoGnu/issue_15870
Attemp to fix #15870
2018-02-01 16:49:35 +01:00
Paolo Perkovic
08d4bfacaf Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
Rémi Verschelde
9247f2de37
Merge pull request #16249 from binbitten/fix-highlight-ofs
Fix TextEdit current line highlight horizontal offset
2018-02-01 15:25:02 +01:00
Rémi Verschelde
ff287d8341
Merge pull request #15254 from mrcdk/pitch_scale
Added pitch scale property to AudioStreamPlayer, AudioStreamPlayer2D and AudioStreamPlayer3D
2018-02-01 14:26:27 +01:00
binbitten
ba8c5bff69 Fix TextEdit current line highlight horizontal offset 2018-01-31 19:04:50 +01:00
George Marques
b80bc73a17
Expose a few GraphEdit methods to script languages 2018-01-30 22:09:41 -02:00
Juan Linietsky
1322ca6fb2 Ability to import .escn files, which is just a .tscn but with forced import.
This works together with the new Blender to Godot exporter.
2018-01-30 11:04:22 -03:00
Rémi Verschelde
d1954f464c
Merge pull request #16152 from hpvb/fix-16131
Allow focus on disabled buttons
2018-01-30 13:44:28 +01:00
Rémi Verschelde
ed6bf28014
Merge pull request #15980 from mrcdk/audio_stream_get_length
Expose audio streams get_length()
2018-01-30 13:43:34 +01:00
Hein-Pieter van Braam
713f190a30 Allow focus on disabled buttons
This behavior better matches other gui toolkits. A selected disabled
button still can't be interacted with but it can now be selected. This
seems to be what QT and GTK do also.

This fixes #16131
2018-01-28 18:49:22 +01:00
robfram
3cf2d6524b Fix inverted RIGHT/LEFT TOP/BOTTOM Camera2D drag margin in runtime (editor works fine). Fix #16095. 2018-01-27 19:37:04 +01:00
Bojidar Marinov
57bed14e95
Remove duplicate "autoplay" property
Part of #16051
2018-01-25 16:17:35 +02:00
Paul Joannon
e30aa1386c
update signals' MethodInfo in Tween
key is a NodePath, not a String
2018-01-23 13:06:03 +01:00
Todd Ross
fd6a98b753 defend Path2D against a null curve 2018-01-22 22:45:38 -06:00
MrCdK
8a9f1c2a5d Expose audio streams get_length() 2018-01-22 20:35:33 +01:00
Rémi Verschelde
37cb029fcc
Merge pull request #15938 from poke1024/fix15904
Fix crash on deleted rigidbodies without contact monitor (issue 15904)
2018-01-22 00:02:14 +01:00
Rémi Verschelde
e1f34249eb Fix typo in CollisionObject warning 2018-01-21 21:32:00 +01:00
Juan Linietsky
8daf5491ab I have no idea why this commit fixes #15392 2018-01-21 16:19:35 -03:00
Mariano Suligoy
517ff5c8d7 attemp to fix #15870 2018-01-21 12:31:59 -03:00
Bernhard Liebl
e9237d83c7 Fix crash on deleted rigidbodies without contact monitor (issue 15904) 2018-01-21 12:46:13 +01:00
robfram
d588fe2740 Fix issue 15895, audio streams don't signalling finished after the first one
if the audio player is set to play again due to the order of calls in
_notification. First it emits the signal, and later it disable the internal
processing regardless what the callback did.

Changed to emit the signal at the end to ensure the changes done at callback
remains.
2018-01-20 22:22:00 +01:00
Gilles Roudiere
30e1e42175 Fixes a bas resizing with SplitContainer 2018-01-20 21:03:20 +01:00
Yuri Chornoivan
17614f79ea
Fix minor typo: it's -> its 2018-01-20 20:18:43 +02:00
Gilles Roudiere
d1f32708b7 Fixes a Gridcontainer wrong children fitting with expanded+non-zero minisize 2018-01-19 00:56:30 +01:00
MrCdK
9927b70efb The TextureButton's bitmask takes into account the stretch mode selected
When the stretch is tile the mask gets applied to each tile.
2018-01-19 00:01:23 +01:00
Rémi Verschelde
598724c043 Remove obsolete Viewport _update_rect() code 2018-01-18 22:37:45 +01:00
Rémi Verschelde
9f479f096c Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Juan Linietsky
cc8dfcc9c0 Before I forget, add warnings on areas without children (should not break anything).
Seen too many users misunderstanding the edit rect is the shape.
2018-01-18 14:31:07 -03:00
Ian
1b837125ce TextEdit fix get_mouse after many folds 2018-01-18 12:18:06 -05:00
Rémi Verschelde
6c46787749 doc: Replace some more "val" with "value" + sync 2018-01-17 10:43:23 +01:00
Saracen
e3fdacdf90 Expose 'lightmap_unwrap' method to the scripting engine. 2018-01-17 03:39:06 +00:00
Juan Linietsky
4de84f4c0a BMFont loading direct support from .fnt files. 2018-01-16 17:58:04 -03:00
volzhs
c5e3acc29c Support colored font 2018-01-16 22:56:54 +09:00
Gilles Roudiere
b06c6602c8 Changes the keep_margin parameter to true by default, so that people are not suprised that set_anchor changes the margins values 2018-01-15 10:37:13 +01:00
Rémi Verschelde
05b1843818
Merge pull request #15696 from bojidar-bg/15646-assigned-animation
Fix an issue with the animation editor not seeking to the target time
2018-01-15 08:54:07 +01:00
Fabio Alessandrelli
765051e104 ViewportContainer passes input down to children viewports 2018-01-15 00:36:57 +01:00
Bernhard Liebl
77b1320fb4 Fixes wrong vertical font layout in RichTextLabel 2018-01-14 19:29:04 +01:00
Rémi Verschelde
a1a67e6e84
Merge pull request #15708 from Paulb23/current_line_clipping_issue_15427
Fixed current line highlighting with horizontal clipping, issue 15427
2018-01-14 17:22:09 +01:00
Paulb23
386c57cfad Fixed current line highligting with horizontal clipping, issue 15427 2018-01-14 16:06:27 +00:00
Bojidar Marinov
f2355949c4
Fix an issue with the animation editor not seeking to the target time properly.
Fixes #15646.
2018-01-14 12:28:57 +02:00
Rémi Verschelde
892568abee
Merge pull request #15670 from poke1024/fix15588
Fixes hangs with Tree in multi selection mode (issue 15588)
2018-01-13 17:45:03 +01:00
Bernhard Liebl
363980519c Fixes hangs with Tree in multi selection mode (issue 15588) 2018-01-13 17:34:12 +01:00
Rémi Verschelde
69452fbc37
Merge pull request #15657 from paulloz/fix-textedit-undo-redo-selection
TextEdit: Fix selection issue with undo/redo
2018-01-13 17:05:46 +01:00