Commit graph

2523 commits

Author SHA1 Message Date
Dylan Enloe 45a322b6ae Fix crash when unsharing a range that is not shared
Added a guard to Range::_unref_shared to prevent it from doing anything
in the event that shared is null.

Fixes Issue: #11521
2017-09-28 00:45:05 -07:00
Rémi Verschelde da144fed4c Merge pull request #11617 from groud/fix_bad_display
Fixes bad display
2017-09-27 22:15:00 +02:00
Rémi Verschelde 78423320d7 Merge pull request #11618 from tagcup/button_toggle
Fix toggle mode of BaseButton.

[ci skip]
2017-09-27 15:47:59 +02:00
Marcelo Fernandez f12b4e5fa3 Fixed bug with clearing the stream in AudioPlayerStream 2017-09-27 10:30:08 -03:00
Ferenc Arn 9c516d8383 Fix toggle mode of BaseButton.
..which got broken with #11480.
2017-09-26 20:10:44 -04:00
Gilles Roudiere bd8a5fba30 Fixes set_anchors_and_margins_preset() 2017-09-27 00:38:41 +02:00
Gilles Roudiere 6f185cc9f7 Remove unecessary anchors&margins set causing bad display (sons of containers) 2017-09-27 00:38:28 +02:00
volzhs c5f0717053 Fix crash when scene has LineEdit and run from editor 2017-09-26 16:19:02 +09:00
Rémi Verschelde 59c3f61d57 Merge pull request #11587 from Zylann/directional_light_init
In editor, instance DirectionalLight with an initial orientation

[ci skip]
2017-09-26 08:11:57 +02:00
Rémi Verschelde f577efd47e Merge pull request #11424 from groud/control_node_presets
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Marc Gilleron 2ac8c2fa91 In editor, instance DirectionalLight with an initial sun-like orientation 2017-09-25 23:17:23 +02:00
Rémi Verschelde 938681724f Merge pull request #11541 from Paulb23/tree_arrow_goto_parent
Goto to parent on left arrow in tree with single column

[ci skip]
2017-09-25 23:16:06 +02:00
Rémi Verschelde 5567cbe6ae Merge pull request #11545 from Paulb23/line_edit_caret_blink_resetting_issue_10764
Fixed caret blink and speed resetting in scenes, issue 10764

[ci skip]
2017-09-25 23:10:32 +02:00
Rémi Verschelde 7bb9a26de3 Merge pull request #11546 from Paulb23/scrollbar_jitter
Fixed scrollbar Jitter when clicking

[ci skip]
2017-09-25 23:08:48 +02:00
Elliott Sales de Andrade ffab67b8da Use BoolVariable in target/component/advanced options. 2017-09-25 14:36:02 -04:00
Poommetee Ketson 0761efaf36 Merge pull request #11552 from Tetane/master
Add missing constant binding STRETCH_ASPECT_EXPAND in SceneTree
2017-09-25 19:20:52 +07:00
Tetane b3f3a91e15 Add a missing constant binding in SceenTree
Add missing constant binding "STRETCH_ASPECT_EXPAND" 
(I cannot test it because godot does not compile anymore on my pc (windows10))
2017-09-24 20:29:18 +02:00
Paulb23 8b80e97338 Fixed caret blink and speed resetting in scenes, issue 10764 2017-09-24 17:22:47 +01:00
Paulb23 5815aaa035 Fixed scrollbar jitter when clicking 2017-09-24 16:19:52 +01:00
Paulb23 35c5422dc2 Goto to parent on left arrow in tree with single column 2017-09-24 13:33:03 +01:00
damarindra b786e7877b Fix: CollisionObject shape owner indexing is inconsistent 2017-09-24 15:55:45 +07:00
Juan Linietsky 81c9cfdc1b Added light affect parameter to baked AO 2017-09-23 23:10:34 -03:00
Marcelo Fernandez 46af050e93 Rename get_position => get_playback_position and seek_pos => seek on audio classes 2017-09-23 16:55:00 +02:00
Juan Linietsky fbabef6da3 Fixes to rim parameter in shader 2017-09-23 08:27:48 -03:00
Marcelo Paez 5e50fde3d9 Changed get_audio_bus and set functions to get_audio_bus_name and set
and edited docs for Area2D due to renaming o get_audio_bus and set_audio_bus
2017-09-22 15:05:09 -03:00
Juan Linietsky 3237e05c36 Ability to convert from SpatialMaterial to ShaderMaterial 2017-09-22 09:20:52 -03:00
Gilles Roudiere 05bb8e0c10 Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE) 2017-09-22 11:39:44 +02:00
Rémi Verschelde 15042128a6 Merge pull request #11480 from tagcup/button_unpress_fix
Ensure pressed is set to false in BaseButton::_unpress_group.

[ci skip]
2017-09-22 09:25:08 +02:00
Gilles Roudiere 92f062696a Implements set_margins_preset(...) 2017-09-22 09:23:07 +02:00
Ferenc Arn b4417161f5 RichTextLabel: Added get_visible_line_count method.
Also exposed get_line_count to GDScript.
2017-09-21 21:43:33 -04:00
Ferenc Arn ca3061d9c2 Ensure pressed is set to false in BaseButton::_unpress_group. 2017-09-21 20:58:32 -04:00
Juan Linietsky bf371dcb32 Added proximity and distance fade to SpatialMaterial 2017-09-21 15:20:28 -03:00
Rémi Verschelde a1779c9044 Merge pull request #11013 from MednauN/master
Fix duplication of node with script
2017-09-21 10:53:58 +02:00
Rémi Verschelde 82f13288dd Merge pull request #11453 from djrm/pr_visuals
Visual tweaks.
2017-09-21 10:51:06 +02:00
Rémi Verschelde 2d05e102b7 Merge pull request #11447 from akien-mga/queue_delete
Let queue_free() work on nodes which are not in the scene tree
2017-09-21 10:42:02 +02:00
Rémi Verschelde d79ce05b91 Merge pull request #11365 from leezh/freetype_mono
Added support for FT_PIXEL_MODE_MONO in FreeType
2017-09-21 10:37:21 +02:00
Daniel J. Ramirez 00755ff2c0 Visual tweaks.
Updated icons
Updated some color
2017-09-20 19:29:52 -05:00
Rémi Verschelde 4820dfc570 Let queue_free() work on nodes which are not in the scene tree
In practice such nodes could directly be free()'ed, but this little change
prevents users from leaking memory by mistake.
Closes #9074.
2017-09-20 21:49:56 +02:00
letheed 5ad9be4c24 Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
2017-09-20 13:11:10 +02:00
Evgeny Zuev 521280ec44 Fix duplication of node with script
When duplicating node with script, properties of script
weren't copied sometimes.
It happened because properties were copied in arbitrary
order, and properties of the script were setted before the
"script" property itself, i.e. while script is sill NULL.

Also, DUPLICATE_SCRIPTS flag wasn't working - script was
always copied because `_duplicate` looked for
"script/script" property while it should be just "script".

Now "script" property is being set before all others,
and "script/script" changed to
`CoreStringNames::get_singleton()->_script`.
2017-09-20 10:56:31 +07:00
Rémi Verschelde 752a116847 Merge pull request #11256 from djrm/pr_visual_improvements
Visual improvements and new look for VS
2017-09-19 23:44:09 +02:00
Rémi Verschelde 2785444f89 Merge pull request #10437 from groud/2d_editor_enhancements
Some 2d editor enhancements
2017-09-19 23:24:17 +02:00
Zher Huei Lee 2ca82225b7 Added support for FT_PIXEL_MODE_MONO in FreeType 2017-09-19 14:00:00 +08:00
Gilles Roudiere b5f29fe073 Add some options and reorganize the 2D editor menus. Makes available forced snapping. 2017-09-18 23:20:18 +02:00
Rémi Verschelde 30ba4076cd Merge pull request #11372 from volzhs/fix-smooth-scroll
Fix smooth scrolling in ScrollBar
2017-09-18 20:04:39 +02:00
Rémi Verschelde cc161dcd6f Merge pull request #11021 from tuga3d/autocomplete-logic-attempt2
autocomplete logic attempt 2, fixes #10695
2017-09-18 08:58:18 +02:00
Rémi Verschelde a00f19a921 Merge pull request #11328 from Paulb23/left_right_arrow_tree_issue_10737
Added Left / Right arrow navigation in tree, issue 10737
2017-09-17 22:45:19 +02:00
volzhs 7da0ec01c0 Fix smooth scrolling in ScrollBar
fixes #11369
2017-09-18 05:31:21 +09:00
Marcelo Fernandez 31ba932e3b Fix crash when using key+u on a line with only a # 2017-09-17 17:07:42 -03:00
Rémi Verschelde 0953c8fd55 Merge pull request #11314 from marcelofg55/master
Fix possible crash with ctrl-u on script editor
2017-09-17 12:56:13 +02:00